From a7c9e0982a7cf0cfa853d0f034782f8dfa292666 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Mon, 6 Dec 2010 20:36:15 -0800 Subject: [PATCH] updating genstatic.scm with the new C calling convention. fixes #54 (thanks to Andreas Rottman) --- tools/genstatic.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/genstatic.scm b/tools/genstatic.scm index 3382698e..abe7f13f 100755 --- a/tools/genstatic.scm +++ b/tools/genstatic.scm @@ -121,7 +121,7 @@ (define (init-c-lib lib) (display " ") (display (cdr lib)) - (display "(ctx, env);\n")) + (display "(ctx sexp_api_pass(NULL, 1), env);\n")) (define (main args) (find-c-libs (if (pair? (cdr args)) (cadr args) "lib"))