Re: Fwd: Inspecting objects

Thomas Nelson <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Ok... Here is what I'm seeing

When I access the object from the lua side I'm getting one env table, 
coming in from C++ gives me a different one. So if I set a property on 
the Lua side the value is stored in the first table and is not visible 
when I inspect the second (C++ visible) table.

One item that I left out of my description yesterday is that these are 
smart pointer protected objects.  Is it possible the lua side is 
accessing an env attached to the smart pointer/holder rather than the 
object itself?

Thoughts? inspirations? epiphanies?

TomN

On 3/17/2010 9:30 AM, Thomas Nelson wrote:
> I am very sorry if this goes out twice, I sent it out yesterday and I've
> not seen it come back to me on the list or show up in the archives so
> I'm guessing something went wrong at my end.
>
> I am trying to add some introspection to my luabind objects and I am
> starting to suspect that I'm missing something obvious.
>
>    


------------------------------------------------------------------------------
Download Intel&#174; 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
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.