lua-users home
lua-l archive

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

On Wednesday 19 January 2011 20:56:18 HyperHacker wrote:

> I usually have a "bootloader" C program that creates a Lua state and
> exposes some internals to it and lets it go nuts. 

> A lot of my programs
> however are a Lua script that loads a bunch of modules (some of which
> are written in C); it's not infeasible that a game engine could be
> done that way.

I'm glad you responded. In my research I've found no examples of how to start 
in Lua and load C modules, nor any documentation of same. Do you know of a 
trivial "hello world" application of calling C from Lua for Lua 5.1?



Steve Litt
Recession Relief Package