Re: luabind 0.8.1 + lua 5.1.4: passed object pointers are userdata
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 18 Oct 2009 23:47:01 +0400 Dmitriy Mazovka <[email protected]> wrote: > luabind::globals(state)["tmp"] = &obj; Have you tried: luabind::globals(state)["tmp"] = boost::ref(obj); Best regards ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference