Ah-ha

"Josh Klint" <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <000001cc15e2$bfcf0730$3f6d1590$@com>
Here's the solution to my previous problem:

 

      void Interpreter::PushObject(Object* o)

      {

            luabind::object lo = luabind::object(L,o);

            lo.push(L);

            lo = luabind::object(luabind::from_stack(L,-1));

            Object* test = luabind::object_cast<Object*>(lo);

            if  (o != test)

            {

                  Notify("Doesn't match!");

            }

      }

 

 

Best Regards,

 

Josh Klint

CEO

Leadwerks Software

www.leadwerks.com

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay

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