Help: returning BMax Objects to Lua

BlitzMax Forums/BlitzMax Programming/Help: returning BMax Objects to Lua

daaan(Posted 2006) [#1]
How can I return TImage objects and user defined types to lua?

Thanks in advance.


Dreamora(Posted 2006) [#2]
By sending Byte Ptr over there or send handle of it over (by ObjecToHandle function and objectfromhandle, when I remember their names correctly)


daaan(Posted 2006) [#3]
Thanks for responding. Do you have an example?