[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUA and C++ Classes
- From: "Nutritious Games - Tue Hald Madsen" <tue@...>
- Date: Tue, 28 May 2002 11:43:00 +0200
Hello LUA list.
I´m quite new to LUA,and what I have seen so far is really cool.
I have tried to run some LUA code from a C program, and it was really really easy to implement LUA into my C program
BUT:
When I wanted to use LUA in a C++ class, things suddently went ugly.
Now, my problem is, that I want to call a non-static member function from LUA.
I have seen the LUA++ stuff written by Waldemar Celes, but it´s using LUA 3.
Does anyone know how to use LUA 4 in C++ classes ? In a straightforward way ?
Tue Madsen