aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-04 21:05:08 +1000
committerDavid Walter Seikel2014-05-04 21:05:08 +1000
commitc61f6d7ffa292429603270dfa38969fab7f9d1ab (patch)
treed503bb6d66c5d386d9826ec029c39e64ade7eb32 /src/GuiLua
parentMake the file selector actually useful. (diff)
downloadSledjHamr-c61f6d7ffa292429603270dfa38969fab7f9d1ab.zip
SledjHamr-c61f6d7ffa292429603270dfa38969fab7f9d1ab.tar.gz
SledjHamr-c61f6d7ffa292429603270dfa38969fab7f9d1ab.tar.bz2
SledjHamr-c61f6d7ffa292429603270dfa38969fab7f9d1ab.tar.xz
luaopen_widget is surplus to requirements.
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);