lua-users home
lua-l archive

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


> 1) Is there a site that in a clear but detailed way explains how to link
lua and c code together? 
> 2) Is there a site tailered towards actually implementing lua for game
mods and scripted ai?
> 3) Can I have a lua/c example program that will compile with lua 4?
>  
> Thanks guys.
> -pTymN

3) I am working (lazily) on such a sample, because I felt there is a need
for this, and because I am discovering myself how to do this :-) If I ever
finish it, I will post it either (or both) on my site or/and on the Wiki.

Actually, it is often overlooked, but such an example is shipped with the
source distribution of Lua.
It it called lua.c... I use it as framework for my sample.
The lib sources are also great for learning.

Regards.

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--

Sent through GMX FreeMail - http://www.gmx.net