Adds a Meta library with an eval function for interpreting code inline.
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
#include "wren_io.h"
|
||||
#endif
|
||||
|
||||
#if WREN_USE_LIB_META
|
||||
#include "wren_meta.h"
|
||||
#endif
|
||||
|
||||
#if WREN_DEBUG_TRACE_MEMORY || WREN_DEBUG_TRACE_GC
|
||||
#include <time.h>
|
||||
#endif
|
||||
@@ -75,6 +79,9 @@ WrenVM* wrenNewVM(WrenConfiguration* configuration)
|
||||
#if WREN_USE_LIB_IO
|
||||
wrenLoadIOLibrary(vm);
|
||||
#endif
|
||||
#if WREN_USE_LIB_META
|
||||
wrenLoadMetaLibrary(vm);
|
||||
#endif
|
||||
|
||||
return vm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user