[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: SLB lua objects ?
- From: Nicolas Goles <goles.nicolas@...>
- Date: Mon, 07 Mar 2011 16:39:21 -0300
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 ?