[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C calls Lua or Lua calls C?
- From: Steve Litt <slitt@...>
- Date: Wed, 19 Jan 2011 23:02:06 -0500
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?
Thanks
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt