Fixed: #900 ELuaExecuteError: No matching overload found, setContextHelpText

This commit is contained in:
kervala 2010-05-18 09:46:41 +02:00
parent d75e16d60a
commit f31ed6c750

View file

@ -289,9 +289,11 @@ bool CLuaIHM::getUCStringOnStack(CLuaState &ls, sint index, ucstring &dest)
void CLuaIHM::push(CLuaState &ls, const ucstring &value) void CLuaIHM::push(CLuaState &ls, const ucstring &value)
{ {
//H_AUTO(Lua_CLuaIHM_push) //H_AUTO(Lua_CLuaIHM_push)
luabind::object obj(ls.getStatePointer(), value);
#if LUABIND_VERSION == 600 #if LUABIND_VERSION == 600
luabind::object obj(ls.getStatePointer(), value);
obj.pushvalue(); obj.pushvalue();
#else
luabind::detail::push(ls.getStatePointer(), value);
#endif #endif
} }