Avoid creating number type reference in interpreter.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "impl.h"
|
||||
|
||||
struct libab_interpreter_s {
|
||||
libab_ref type_num;
|
||||
libab_ref base_table;
|
||||
libab_impl* impl;
|
||||
};
|
||||
@@ -14,6 +15,7 @@ typedef struct libab_interpreter_s libab_interpreter;
|
||||
|
||||
void libab_interpreter_init(libab_interpreter* intr,
|
||||
libab_ref* table,
|
||||
libab_ref* type_num,
|
||||
libab_impl* impl);
|
||||
libab_result libab_interpreter_run(libab_interpreter* intr,
|
||||
libab_tree* tree, libab_ref* into);
|
||||
|
||||
Reference in New Issue
Block a user