[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: pushing a table
- From: "Robert Sadedin" <trinitychaos50@...>
- Date: Fri, 22 Oct 2004 13:58:56 +1000
Hmmmm.
Maybe this is silly but ...
I want to store a pointer to a table in a c++ class, then push the table
onto the lua stack, and call a lua method that accepts the table as the
first param.
I don't seem to be able to store a table as a void* and then push it as a
table via the lua c api ...
This is to link a class and a lua table together so lua can add any
variables it wants to the table, and get access to these via the lua
function callback that the c++ object calls and passes the table to.
If this makes sense :)
Incoherent as ever,
Rob