mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 05:27:35 +02:00
Forgot env arg to sexp_eval_string in docs.
This commit is contained in:
parent
475b5ee01d
commit
5869983b25
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ void dostuff(sexp ctx) {
|
|||
sexp_load(ctx, "/path/to/source/file.scm", NULL);
|
||||
|
||||
/* eval a C string as Scheme code */
|
||||
sexp_eval_string(ctx, "(some scheme expression)", NULL);
|
||||
sexp_eval_string(ctx, "(some scheme expression)", NULL, NULL);
|
||||
|
||||
/* construct a Scheme expression to eval */
|
||||
obj1 = sexp_intern(ctx, "my-procedure", -1);
|
||||
|
|
Loading…
Add table
Reference in a new issue