[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: AW: Modifying and Compiling tolua
- From: "Peter Prade" <prade@...>
- Date: Fri, 10 Aug 2001 03:06:36 +0200
Thats easy! (although i had i hard time to find out myself)
in the source included is a .pkg file: tolualua.pkg
if you use tolua to process this package file, it will create the .c file
tolualua.c containing the embedded code.
Perhaps it would be a good idea to mention this a bit more clearly in the
i added this header to my tolualua.pkg file:
// when this package is processed with tolua, the resulting tolualua.c will
// a tolua_tolualua_open() that is equivalent to dofile() of the following
// (so if you change one of the lua files, run tolua on this package to
[mailto:firstname.lastname@example.org]Im Auftrag von email@example.com
Gesendet: Freitag, 10. August 2001 2:36
An: Multiple recipients of list
Betreff: Modifying and Compiling tolua
I'm trying to make a change in the declaration.lua file that is used
by the tolua program. It seems that the .lua files that tolua uses
are precompiled and embedded in the C code so that the executable
doesn't require the .lua files.
I don't know how to perform this process of embedding the scripts in
C so that my changes take effect. Does anyone know how to do this?
I'm really new to lua and tolua, so any help would be greatly