[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problem with Lua and DJGPP
- From: Alex Sandro Queiroz e Silva <asandro@...>
- Date: Tue, 10 Apr 2001 10:42:43 -0300 (GRNLNDST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
On Tue, 10 Apr 2001, Sergio Alvares R. de S. Maffra wrote:
> I've never used DJGPP, but in Visual C it will only link correctly if you
> enclose the lua.h include directive in an extern "C" block...
>
> #extern "C"
> {
> #include <lua.h>
> }
There is only one mistake, it's extern "C" and not #extern "C".
Cheers,
--Alex asandro@lcg.dc.ufc.br Lab. de Computação Gráfica/UFC
+----------------------------------------------------------------------------+
|"Minha força vem da solidão. Não tenho medo das chuvas tempestuosas nem das |
| grandes ventanias soltas, pois eu também sou o escuro da noite." |
| - Clarice Lispector |
+----------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (AIX)
Comment: Made with pgp4pine 1.75
iD8DBQE60w3cyZIJi4gsgWIRAthwAKCvonZnfefr6QGJupzHH7ME2GAgJwCgtVGK
UAGqU1fFWhqTAcWUnVbYTu4=
=LCIy
-----END PGP SIGNATURE-----