We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b8e44 commit e37f592Copy full SHA for e37f592
1 file changed
lgi/callable.c
@@ -177,9 +177,6 @@ struct _FfiClosureBlock
177
FfiClosure *ffi_closures[1];
178
};
179
180
-/* lightuserdata key to callable cache table. */
181
-static int callable_cache;
182
-
183
/* Gets ffi_type for given tag, returns NULL if it cannot be handled. */
184
static ffi_type *
185
get_simple_ffi_type (GITypeTag tag)
@@ -1581,9 +1578,6 @@ lgi_callable_init (lua_State *L)
1581
1578
luaL_register (L, NULL, callable_reg);
1582
1579
lua_rawset (L, LUA_REGISTRYINDEX);
1583
1580
1584
- /* Create cache for callables. */
1585
- lgi_cache_create (L, &callable_cache, NULL);
1586
1587
/* Create public api for callable module. */
1588
lua_newtable (L);
1589
luaL_register (L, NULL, callable_api_reg);
0 commit comments