34dbb40587
Also drop dump-typelib as it doesn't work out of box anyway and is mostly just for development of lgi itself.
14 lines
391 B
Diff
14 lines
391 B
Diff
--- lgi/callable.c
|
|
+++ lgi/callable.c
|
|
@@ -1233,7 +1233,10 @@ closure_callback (ffi_cif *cif, void *ret, void **args, void *closure_arg)
|
|
}
|
|
else
|
|
{
|
|
-#if LUA_VERSION_NUM >= 502
|
|
+#if LUA_VERSION_NUM > 503
|
|
+ int nres;
|
|
+ res = lua_resume (L, NULL, npos, &nres);
|
|
+#elif LUA_VERSION_NUM >= 502
|
|
res = lua_resume (L, NULL, npos);
|
|
#else
|
|
res = lua_resume (L, npos);
|