|
|
||
|
Thank you, Peter. The example is perfect. This helps alot! I think this is a great acquisition for WiKi. :-)
Richard.
Peter Shook wrote:
On Monday 15 April 2002 10:17, you wrote:
Hi,
I am not sure if it's allowed to ask questions about 4.1w4, else sorry. But I need a way to register a class in Lua from C++ ...
I've put a small example binding to the GD library on the wiki.
http://lua-users.org/wiki/BindingWithMetatableAndClosures
It's in C, but it should give you some ideas.
Cheers,
- Peter