1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-08 11:33:02 +00:00

Add wrapping functions for easy conversion between c api and

internal values.
This commit is contained in:
Calvin Rose
2017-04-17 18:46:28 -04:00
parent f52e290206
commit 6e71984fc5
11 changed files with 135 additions and 93 deletions

View File

@@ -21,7 +21,7 @@ struct GstCompiler {
void gst_compiler(GstCompiler *c, Gst *vm);
/* Add many globals */
void gst_compiler_globals(GstCompiler *c, GstObject *env);
void gst_compiler_globals(GstCompiler *c, GstValue env);
/* Register a global for the compilation environment. */
void gst_compiler_global(GstCompiler *c, const char *name, GstValue x);