mirror of
https://github.com/janet-lang/janet
synced 2025-11-01 08:03:02 +00:00
Complete adding parser to scripting.
This commit is contained in:
@@ -264,6 +264,7 @@ struct GstUserType {
|
||||
GstValue (*serialize)(Gst *vm, void *data, uint32_t len);
|
||||
GstValue (*deserialize)(Gst *vm, GstValue in);
|
||||
void (*finalize)(Gst *vm, void *data, uint32_t len);
|
||||
void (*gcmark)(Gst *vm, void *data, uint32_t len);
|
||||
};
|
||||
|
||||
/* Contains information about userdata */
|
||||
@@ -462,6 +463,7 @@ void gst_mem_tag(void *mem, uint32_t tags);
|
||||
void gst_collect(Gst *vm);
|
||||
void gst_maybe_collect(Gst *vm);
|
||||
void gst_clear_memory(Gst *vm);
|
||||
void gst_mark_mem(Gst *vm, void *mem);
|
||||
|
||||
/****/
|
||||
/* VM */
|
||||
|
||||
@@ -68,4 +68,7 @@ int gst_parse_hasvalue(GstParser *p);
|
||||
/* Gets a value from the parser */
|
||||
GstValue gst_parse_consume(GstParser *p);
|
||||
|
||||
/* Load the parsing library */
|
||||
void gst_parse_load(Gst *vm);
|
||||
|
||||
#endif /* end of include guard: PARSE_H_ONYWMADW */
|
||||
|
||||
Reference in New Issue
Block a user