Re: Pushing C++ objects onto stack
Iliya Trendafilov <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
http://www.rasterbar.com/products/luabind/docs.html#object Construct a luabind::object with the `template<class T> object(lua_State*, T const& value)` constructor, then call the object's push() method. On Wed, May 18, 2011 at 4:14 AM, Josh Klint <[email protected]> wrote: > I need to push a C++ object into the Lua stack and have it recognized the > same as other objects in LuaBind, and I don't think lightuserdata is the > same. I can't seem to find search results for this. Any answers on this? It > should be a simple thing. > > > > > > 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 > > ------------------------------------------------------------------------------ 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