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 06:24:26PM +0100, Stefan Reusch wrote: > ahh, i forgot. the line with touserdata has worked with the old > version, definitly. OK, I see what's going on now. In pre-0.9, object_rep had a pointer to the held C++ object as its first member, so this "worked" by coincidence when getting the raw userdata pointer. -- 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