Skip to content

Commit 18afa50

Browse files
committed
Whoops
1 parent 37d83b3 commit 18afa50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/yue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static bool initYuescript(tic_mem* tic, const char* code)
7777

7878
// Create compiler with the Lua state and luaapi_open
7979
void (*open_func)(void*) = (void (*)(void*))luaapi_open;
80-
YueCompiler_t* compiler = yue_compiler_create(lua, luaapi_open, false);
80+
YueCompiler_t* compiler = yue_compiler_create(lua, open_func, false);
8181
YueConfig_t* config = yue_config_create();
8282
CompileInfo_t* result = yue_compile(compiler, code, config);
8383

0 commit comments

Comments
 (0)