lua-users home
lua-l archive

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

Hi all, 

I've been RTFW all night but no joy when it comes to either running C from Lua 
or running Lua from C. I tried this:

but kept getting "embed.c:23: error: invalid storage class for function 

It seems like my computer has /usr/lib/ but no corresponding 
liblualib51.*, and I'm using Lua version 5.1.4. My Ubuntu is 9.10. If I knew 
the old version was the problem I'd upgrade, but I'd hate to go through all 
that mess on anything but a very educated guess.

Is there anywhere on the web that has an up todate, for Lua5.1, bare bones 
absolutely minimal example of Lua interfacing with C?



Steve Litt
Recession Relief Package