From c61f6d7ffa292429603270dfa38969fab7f9d1ab Mon Sep 17 00:00:00 2001
From: David Walter Seikel
Date: Sun, 4 May 2014 21:05:08 +1000
Subject: luaopen_widget is surplus to requirements.

---
 src/GuiLua/GuiLua.c | 2 +-
 src/GuiLua/GuiLua.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/GuiLua')

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)
 
 // pseudo-indices, special tables that can be accessed like the stack -
 //    LUA_GLOBALSINDEX - thread environment, where globals are
-//    LUA_ENVIRONINDEX - C function environment, in this case luaopen_widget() is the C function
+//    LUA_ENVIRONINDEX - C function environment, in this case luaopen_GuiLUa() is the C function
 //    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.
 //    lua_upvalueindex(n) - C function upvalues
 
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
 } globals;
 
 
-int luaopen_widget(lua_State *L);
 void GuiLuaDo(int argc, char **argv);
-- 
cgit v1.1