xC: clean up
This commit is contained in:
parent
b55bae50df
commit
e2f3fc2e79
5
xC.c
5
xC.c
@ -11399,8 +11399,9 @@ lua_ctx_gc (lua_State *L)
|
|||||||
|
|
||||||
static luaL_Reg lua_plugin_library[] =
|
static luaL_Reg lua_plugin_library[] =
|
||||||
{
|
{
|
||||||
// These are global functions:
|
// These are pseudo-global functions:
|
||||||
|
|
||||||
|
{ "measure", lua_plugin_measure },
|
||||||
{ "parse", lua_plugin_parse },
|
{ "parse", lua_plugin_parse },
|
||||||
{ "hook_input", lua_plugin_hook_input },
|
{ "hook_input", lua_plugin_hook_input },
|
||||||
{ "hook_irc", lua_plugin_hook_irc },
|
{ "hook_irc", lua_plugin_hook_irc },
|
||||||
@ -11410,8 +11411,8 @@ static luaL_Reg lua_plugin_library[] =
|
|||||||
|
|
||||||
// And these are methods:
|
// And these are methods:
|
||||||
|
|
||||||
|
// Note that this only returns the height when used through an accessor.
|
||||||
{ "get_screen_size", lua_plugin_get_screen_size },
|
{ "get_screen_size", lua_plugin_get_screen_size },
|
||||||
{ "measure", lua_plugin_measure },
|
|
||||||
{ "__gc", lua_ctx_gc },
|
{ "__gc", lua_ctx_gc },
|
||||||
{ NULL, NULL },
|
{ NULL, NULL },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user