diff options
Diffstat (limited to 'lib/lua/src')
-rw-r--r-- | lib/lua/src/luacomp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/lua/src/luacomp.c b/lib/lua/src/luacomp.c index abb7979..371707f 100644 --- a/lib/lua/src/luacomp.c +++ b/lib/lua/src/luacomp.c @@ -1,5 +1,5 @@ /* - ** $Id: luacomp.c,v 1.9 2008-08-05 09:23:09 pixel Exp $ + ** $Id: luacomp.c,v 1.10 2008-08-05 11:27:16 pixel Exp $ ** Lua compiler (saves bytecodes to files; also list bytecodes) ** Highly hacked by Nicolas "Pixel" Noble to be transformed into a ** small form-factor LUA compiler. @@ -55,6 +55,10 @@ static Proto * combine(lua_State * L, int n) { } } +#ifdef __cplusplus +extern "C" void luacmain(lua_State * L, int stripping, lua_Chunkwriter w, void *uD, int listing); +#endif + void luacmain(lua_State * L, int stripping, lua_Chunkwriter w, void *uD, int listing) { Proto * f; |