Object identity

"Josh Klint" <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <000001cc1a2b$a00e7640$e02b62c0$@com>
Can no one answer this?  Luabind is the only binding library that does not
appear to be abandoned.  If I can't solve this, I am going to drop Lua.

I have my classes and binding set up as follows:

class Object

class Object_wrap : public Object, public luabind::wrap_base {};

 

class Entity : public Object

class Entity_wrap : public Entity, public luabind::wrap_base {};

 

class Model : public Entity

class Model_wrap : public Entity, public luabind::wrap_base {};

 

class_<Object,Object_wrap>("Object")

class_<Entity,Entity_wrap,Object>("Entity")

class_<Model,Model_wrap,Entity,Object>("Model")

 

Is that all I have to do to make luabind consistently use the same
luabind::object?  It doesn't appear to have any effect.

 

 

Best Regards,

 

Josh Klint

CEO

Leadwerks Software

www.leadwerks.com

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.