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

This commit is contained in:
kervala 2010-05-18 09:46:41 +02:00
parent c39046773d
commit 488d2d42a7

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
} }