invalid key to 'next'
Agi Shi <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
This is my lua code: http://lua.pastebin.com/f7b33bcca
It's in a function called createGUI(). I've omitted the function itself and
a few unneeded lines. I call this function from C++ as such:
try
{
luabind::call_function<void>(_lua, "createGUI",
boost::ref((gui::widget&)*_sheet));
}
catch(const luabind::error &e)
{
engine::log(engine::string(e.what()) + " :: " + _lua.error());
}
This results in:
lua runtime error :: invalid key to 'next'
This is under Lua 5.1.4 and Luabind 0.8. The same code worked 100%
correctly under Lua 5.0.x. I cannot find what is wrong, any ideas? Major
thanks to anyone with ideas!
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user