lua-users home
lua-l archive

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


On Monday 07 February 2011 18:22:38 Luiz Henrique de Figueiredo wrote:
> > Does anyone know of a web page showing a simple proof of concept for
> > calling and running a C function from a Lua 5.1 program?
> 
> The recent thread on "Is it possible to send var-args" has an example.s

Thank you, thank you, thank you! That did it -- ran right out of the box, and 
from there I could experiment to find out why things were the way they were.

Based on what I learned by experimenting with that code, I wrote this:

http://www.troubleshooters.com/codecorn/lua/lua_lua_calls_c.htm

Thanks.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt