From c83dbf1cc0fc58dcad5c7f00bc5d058e160c4112 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Sun, 4 Dec 2011 15:01:52 +0900 Subject: [PATCH] Documentation updates. --- doc/chibi.scrbl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/chibi.scrbl b/doc/chibi.scrbl index 9ec44360..d3b23a10 100755 --- a/doc/chibi.scrbl +++ b/doc/chibi.scrbl @@ -167,7 +167,8 @@ Scheme source files - in this case the function @cfun{sexp_init_library} is automatically called with the following signature: @ccode{ - sexp_init_library(sexp context, sexp environment); + sexp_init_library(sexp context, sexp self, sexp_sint_t n, sexp environment, + const char* version, sexp_abi_identifier_t abi); } The following additional procedures are available in the default @@ -359,7 +360,7 @@ void dostuff(sexp ctx) { sexp_load(ctx, obj1, NULL); /* eval a C string as Scheme code */ - sexp_eval_string(ctx, "(some scheme expression)", NULL, NULL); + sexp_eval_string(ctx, "(some scheme expression)", -1, NULL); /* construct a Scheme expression to eval */ obj1 = sexp_intern(ctx, "my-procedure", -1);