From 1658cf66d60d06ec9b10a0feb27ef21e39efc861 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Thu, 15 Feb 2018 10:13:18 +0900 Subject: [PATCH] adding sexp_init() (noop by default) to C example in docs --- doc/chibi.scrbl | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/chibi.scrbl b/doc/chibi.scrbl index e481d499..1bf94890 100755 --- a/doc/chibi.scrbl +++ b/doc/chibi.scrbl @@ -373,6 +373,7 @@ void dostuff(sexp ctx) { int main(int argc, char** argv) { sexp ctx; + sexp_init(); ctx = sexp_make_eval_context(NULL, NULL, NULL, 0, 0); sexp_load_standard_env(ctx, NULL, SEXP_SEVEN); sexp_load_standard_ports(ctx, NULL, stdin, stdout, stderr, 1);