chibi-scheme/lib/chibi/emscripten.stub
Antero Mejr 7b9b7d0e67 Error on unfulfilled cond-expand.
This complies with the SRFI 0 specification, and avoids the undefined
behavior of R7RS.
2025-01-17 22:40:47 -05:00

8 lines
306 B
Text

(cond-expand
(emscripten
(c-system-include "emscripten.h")
(define-c void (eval-script! "emscripten_run_script") (string))
(define-c int (integer-eval-script "emscripten_run_script_int") (string))
(define-c string (string-eval-script "emscripten_run_script_string") (string)))
(else))