Re: Wrong userdata pointer returned since update to luabind 0.9
Daniel Wallin <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 24, 2010 at 07:53:01PM +0100, Stefan Reusch wrote:
> One little question ...
>
> It is possible to do something like this without wrap_base
>
> C++
> struct A {
> luabind::object onclick;
> }
>
> .def_readwrite("OnClick", &A::onclick)
>
> LUA
> a = A()
> a.onclick = function print("hello") end
It should be. Doesn't that work?
--
Daniel Wallin
BoostPro Computing
http://www.boostpro.com
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev