Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8527 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Jun 16, 2006, 1:50:21 PM (18 years ago)
Author:
bensch
Message:

compiles again

Location:
trunk/src/lib/util/executor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/executor/executor_lua.cc

    r8408 r8527  
    2222std::string temp[5];
    2323
    24 template<typename type> type* fromLua(lua_State* state, int index) { type *obj = Lunar<type>::check(state, 1); lua_remove(state, 1); return obj;};
     24template<typename type> type fromLua(lua_State* state, int index) { type *obj = Lunar<type>::check(state, 1); lua_remove(state, 1); return obj;};
    2525template<> bool fromLua<bool>(lua_State* state, int index) { return lua_toboolean(state, index); };
    2626template<> int fromLua<int>(lua_State* state, int index) { return (int)lua_tonumber(state, index); };
  • trunk/src/lib/util/executor/executor_lua.h

    r8408 r8527  
    2222template<> const std::string& fromLua<const std::string&>(lua_State* state, int index);
    2323
    24 
    2524template<typename type> void toLua(lua_State* state, type value);
    2625template<> void toLua<bool>(lua_State* state, bool value);
Note: See TracChangeset for help on using the changeset viewer.