Changeset 1038 for code/trunk/src/orxonox/core
- Timestamp:
- Apr 13, 2008, 2:59:01 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/core/CMakeLists.txt
r1037 r1038 31 31 TARGET_LINK_LIBRARIES( core 32 32 util 33 34 33 ${Lua_LIBRARIES} 35 34 ${OIS_LIBRARIES} -
code/trunk/src/orxonox/core/Script.cc
r1037 r1038 109 109 error = luaL_loadstring(luaState_, init.c_str()); 110 110 #else 111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, init.c_str(), "init");111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, (void*)init.c_str(), "init"); 112 112 #endif 113 113 if (error == 0) -
code/trunk/src/orxonox/core/Script.h
r1029 r1038 31 31 32 32 #if LUA_VERSION_NUM != 501 33 inline const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;};33 inline static const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;}; 34 34 #endif 35 35
Note: See TracChangeset
for help on using the changeset viewer.