[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: TinyCC Interface for LUA
- From: "Jason P" <ahq_ranger@...>
- Date: Sat, 08 Nov 2003 22:37:57 -0500
I've uploaded the initial version of my TinyCC Interface for LUA to
its functional, but primitive. The TIL_Tester.exe is an installer for the
test application and
gives you a little .lua program to play with if interested.
I'm wondering now- which way to go with this module. There is a subtle
symbol issue. When
using TinyCC with C, you can just add remove C symbols, but when working
with LUA, a
buffer has to be introduced for values. So far the symbols work like so:
MyString = ti.GetString("MySymbol")
MyNumber = ti.GetNumber("MyNumberSymbol")
Should I add support for passing table arrays of numbers and strings? or
even build in a
way for the C code to access tables (would be a custom C struct holding the
oh- and every time you add a symbol, there is currently a memory leak.
MSN Messenger with backgrounds, emoticons and more.