From 009eb7d43d9582856c275ad3b16f7e3ff94209cc Mon Sep 17 00:00:00 2001 From: amelia squires Date: Wed, 16 Apr 2025 13:09:46 -0500 Subject: merge thingy --- src/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reg.c') diff --git a/src/reg.c b/src/reg.c index 64a2c2f..98419bc 100644 --- a/src/reg.c +++ b/src/reg.c @@ -26,7 +26,7 @@ static int lua_exit(lua_State* L){ #define open_common(name)\ int luaopen_lullaby_##name (lua_State* L){\ - luaL_register(L, NULL, name##_function_list);\ + luaL_register(L, #name, name##_function_list);\ int tidx = lua_gettop(L);\ i_config_metatable(L, name##_config);\ lua_settop(L, tidx);\ -- cgit v1.2.3