Skip to content

Commit e37f592

Browse files
committed
chore: remove unused callable_cache
1 parent c9b8e44 commit e37f592

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

lgi/callable.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ struct _FfiClosureBlock
177177
FfiClosure *ffi_closures[1];
178178
};
179179

180-
/* lightuserdata key to callable cache table. */
181-
static int callable_cache;
182-
183180
/* Gets ffi_type for given tag, returns NULL if it cannot be handled. */
184181
static ffi_type *
185182
get_simple_ffi_type (GITypeTag tag)
@@ -1581,9 +1578,6 @@ lgi_callable_init (lua_State *L)
15811578
luaL_register (L, NULL, callable_reg);
15821579
lua_rawset (L, LUA_REGISTRYINDEX);
15831580

1584-
/* Create cache for callables. */
1585-
lgi_cache_create (L, &callable_cache, NULL);
1586-
15871581
/* Create public api for callable module. */
15881582
lua_newtable (L);
15891583
luaL_register (L, NULL, callable_api_reg);

0 commit comments

Comments
 (0)