lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


AM> the whole binding issue (tolua vs SWIG etc) went through my mind 
AM> recently, and I came up with this atrocity for Lua-5.0 and Linux.
AM> It is of course seriously non-portable, but similar hacks should be 
AM> rather easy for other OS and
AM> machines. The C stuff below has to be compiled and registered with   

looks pretty cool, although potentially dangerous. I think the
portability of it could be massively increased if you used ffcall
(http://www.haible.de/bruno/packages-ffcall-README.html) or sth.
similar for the actual function call. 

rgds,

Gunnar