Object slicing

"Josh Klint" <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <000001cc17d8$c9c18720$5d449560$@com>
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

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay

_______________________________________________
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.