aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/GuiLua/GuiLua.c2
-rw-r--r--src/GuiLua/GuiLua.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index dc86bd3..34c747f 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -418,7 +418,7 @@ int luaopen_GuiLua(lua_State *L)
418 418
419// pseudo-indices, special tables that can be accessed like the stack - 419// pseudo-indices, special tables that can be accessed like the stack -
420// LUA_GLOBALSINDEX - thread environment, where globals are 420// LUA_GLOBALSINDEX - thread environment, where globals are
421// LUA_ENVIRONINDEX - C function environment, in this case luaopen_widget() is the C function 421// LUA_ENVIRONINDEX - C function environment, in this case luaopen_GuiLUa() is the C function
422// LUA_REGISTRYINDEX - C registry, global, for unique keys use the module name as a string, or a lightuserdata address to a C object in our module. 422// LUA_REGISTRYINDEX - C registry, global, for unique keys use the module name as a string, or a lightuserdata address to a C object in our module.
423// lua_upvalueindex(n) - C function upvalues 423// lua_upvalueindex(n) - C function upvalues
424 424
diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h
index 42442cf..ee669ce 100644
--- a/src/GuiLua/GuiLua.h
+++ b/src/GuiLua/GuiLua.h
@@ -21,5 +21,4 @@ typedef struct _globals
21} globals; 21} globals;
22 22
23 23
24int luaopen_widget(lua_State *L);
25void GuiLuaDo(int argc, char **argv); 24void GuiLuaDo(int argc, char **argv);