summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-07 22:52:21 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-07 22:52:21 +0200
commit27e9e57209dd79e09ea21bb82d415f45c47b51f1 (patch)
treec0395abe9b2344525f3f359c250f043041047e7c /src
parente202f34a9e088b6e497c7aa1e5848de76ba0435e (diff)
Fixing externs for lgmp.lua
Diffstat (limited to 'src')
-rw-r--r--src/plugin-luagmp.cc10
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);