lua-users home
lua-l archive

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


Here's an example that should help:

http://lua-users.org/wiki/SimpleCppBinding


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Lee
Sent: Sunday, October 12, 2003 7:24 AM
To: lua@bazar2.conectiva.com.br
Subject: C++ Classes


Hi,
    I'm new to Lua and I'm having a problem with registering my class
member functions with Lua. I'm creating a couple of classes in my C++
code and want Lua to be able to call some of the member functions from
each class. I don't want Lua to create the classes, just want it to call
the functions. Please help.