mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
adding sexp_init() (noop by default) to C example in docs
This commit is contained in:
parent
7ae96fdba5
commit
1658cf66d6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue