working with Lua and objects

BlitzMax Forums/BlitzMax Programming/working with Lua and objects

Cajun17(Posted 2005) [#1]
I'm trying to incorporate Lua into my current project. I understand it alright, but I can't seem to figure out a good way to create a wrapper to handle the lua stack and related functions so I don't have to deal with it every time.

I was also wondering if I could call a type method from within a lua script.


skn3(Posted 2005) [#2]
There is no access to method pointers so you can do this. If you setup "methods" yourself using a function pointers stored in the instances field, it would be probably the best solution.