[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: SLB lua objects ?
- From: Nicolas Goles <goles.nicolas@...>
- Date: Mon, 07 Mar 2011 16:39:21 -0300
Hello,
I was wondering if there's a way to create lua tables from using simple
lua binder ?
In luabind I used a feature called luabind::object, which allowed me to
create a lua object from C++ in the following fashion:
luabind::object payload = luabind::newtable(Lua_state);
payload["label"] = this->getOwnerGE()->getLabel();
payload["value"] = 10;
payload["another_value"] = "HELLO";
Is there an equivalent for this in SLB ?
Thanks!
_Nicolas