mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 06:09:18 +02:00
Documentation updates.
This commit is contained in:
parent
f2502229e6
commit
c83dbf1cc0
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue