Fixes for examples. Wrapped keywords into guardian in keyword_rename test
This commit is contained in:
parent
7e09b6687e
commit
ce2760f77e
6 changed files with 18 additions and 3 deletions
|
|
@ -18,6 +18,10 @@ We will be using the luaL_dostring()/lua_dostring() function to call into lua
|
|||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
|
||||
#if LUA_VERSION_NUM > 501
|
||||
#define lua_open luaL_newstate
|
||||
#endif
|
||||
|
||||
/* the SWIG wrappered library */
|
||||
extern int luaopen_example(lua_State*L);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue