[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Linking C variables and lua variables.
- From: Stephen Parker <stephen.parker@...>
- Date: Tue, 1 Aug 2000 10:15:00 +0100
Apologies for this question, which is undoubtedly a faq, but I haven't
yet found an answer.
Is there a simple method in lua for "linking" variables so as to make
them visible in both the lua code and the C code. For example Tcl
includes a function Tcl_LinkVar(interp, name, ptr, type); which makes
the C variable of the given type at the given location accessible
through Tcl with the given name.
Is there something similar in lua? Thanks
Stephen Parker. Pi Technology. +44 (0)1223 203438.