Register an allocated object

Thales Luis Rodrigues Sabino <[email protected]> Mon, 30 Apr 2012 00:10:59 -0300
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <CAHvrNafD8tHfT2ywF9zjNPkR+e+jY8Xa=nh8f0tNPtVugLRAXg@mail.gmail.com>
Is there a way to register an existing object within lua?

For instance.

MyClass *a = new MyClass();
a->myMember = 30;

Is there a way to register object a so in lua use it like

print(a.myMember)?

Thanks

-- 
Anyday, anytime.

http://www.capimlokura.com.br

Thales Luis Rodrigues Sabino
TLuisRS

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user