summaryrefslogtreecommitdiff
path: root/src/cjr_print.sml
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2014-05-31 03:08:16 -0400
committerGravatar Ziv Scully <ziv@mit.edu>2014-05-31 03:08:16 -0400
commit171e5ecea687a43033e92c98c0661cc161d50e4a (patch)
tree84fb602a1abddb351063d16cd44c147b0053aecc /src/cjr_print.sml
parent77fa8d45d3bcc722b25e93a8c24081c74f3f4709 (diff)
Cleans up interface (it's now a command line option) and renames project to "sqlcache" in the all-one-word style. Still has issues to do with concurrency, retrying transactions, and foreign function calls that either rely on state or have side effects.
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r--src/cjr_print.sml14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index ecd29f71..af2340fe 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -3388,9 +3388,9 @@ fun p_file env (ds, ps) =
newline,
string "static uw_Basis_bool uw_Cache_check",
string i,
- string "(uw_context ctx) { puts(\"Checked ",
+ string "(uw_context ctx) { puts(\"Checked cache ",
string i,
- string "\"); if (cache",
+ string ".\"); if (cache",
string i,
string " == NULL) { uw_recordingStart(ctx); return uw_Basis_False; } else { uw_write(ctx, cache",
string i,
@@ -3400,9 +3400,9 @@ fun p_file env (ds, ps) =
string i,
string "(uw_context ctx) { cache",
string i,
- string " = uw_recordingRead(ctx); puts(\"Stored ",
+ string " = uw_recordingRead(ctx); puts(\"Stored cache ",
string i,
- string "\"); return uw_unit_v; };",
+ string ".\"); return uw_unit_v; };",
newline,
string "static uw_unit uw_Cache_flush",
string i,
@@ -3410,9 +3410,9 @@ fun p_file env (ds, ps) =
string i,
string "); cache",
string i,
- string " = NULL; puts(\"Flushed ",
+ string " = NULL; puts(\"Flushed cache ",
string i,
- string "\"); return uw_unit_v; };",
+ string ".\"); return uw_unit_v; };",
newline,
string "static uw_unit uw_Cache_ready",
string i,
@@ -3420,7 +3420,7 @@ fun p_file env (ds, ps) =
newline,
newline]
end)
- (!SqlCache.ffiIndices)),
+ (!Sqlcache.ffiIndices)),
newline,
p_list_sep newline (fn x => x) pds,