[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Newbie strike again !!
- From: Christophe Gimenez <chris@...>
- Date: Tue, 14 Mar 2000 19:30:15 +0100
Okay , here is what I've done :
in a C++ file :
- create a global var
- register a new function to LUA
- launch execution of the LUA script
- LUA script call the registered function with a double as parameter
- the C function modify the global var
- before exiting the C program displays the global var to see if all works fine.
// --------------------------------------------------------
Here is the next problem :
I would like to PUSH a pointer to LUA (ok that a usedata lua object).
It seems (not sure) that I must use "tags"...
Unfortunately I don't understand what tags are ??
And, of course, if they are the solution to pushing and poping pointers
thanks
Really I start to like LUA a lot !!