diff options
-rw-r--r-- | src/plugin-luagmp.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugin-luagmp.cc b/src/plugin-luagmp.cc index f843400..82c917f 100644 --- a/src/plugin-luagmp.cc +++ b/src/plugin-luagmp.cc @@ -2497,8 +2497,8 @@ static int lgmp_initialize(lua_State *L) } extern "C" { -extern unsigned int size_lgmplib; -extern unsigned char lgmplib[]; +extern unsigned int size_lgmp; +extern unsigned char lgmp[]; } static int _init_plugin(Lua *L) @@ -2507,9 +2507,9 @@ static int _init_plugin(Lua *L) L->newtable(); // [2] = aux L->wrap_open(lgmp_initialize); - Buffer lgmplib_buff; - lgmplib_buff.write(lgmplib, size_lgmplib); - L->load(&lgmplib_buff); + Buffer lgmp_buff; + lgmp_buff.write(lgmp, size_lgmp); + L->load(&lgmp_buff); L->call("lgmp_lua_init", LUA_GLOBALSINDEX, 2, 0); |