lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


For my game scripting, I need to be able to expose methods from objects
created in my c++ class to Lua.

I know there are a number of solutions for providing c++ classes in lua so
long as they are created in Lua, but what about when the construction is in
the host application?

Essentially, I need method sharing with the creation process being
consumated by the c++ app.

What is the simplest, and least ambitious method for doing this that you
experts can think of?


Thanks,



Rob