Remove Luabind ownership on C++ pointer?

neosettlers <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Greetings,

 

I'm wondering how to remove Luabind ownership on C++ pointers:

 

C++

module(lua)

[

                    class_<Object>("Object")

                    .def(constructor<>())

];

 

.lua

local object = Object();

 

.

 

I would like Luabind NOT to delete the object C++ pointer when lua_gc() is
called.

 

If anyone found an elegant solution for this, I'm definitely interested to
hear about it.

 

Thx,

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

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