[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: request for barebone MSVC++ host application
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 5 Mar 2002 14:45:44 -0300
>Probably an FAQ....why don't the Lua headers just do an #ifdef __cplusplus?
It's a FAQ: See http://www.lua.org/faq.html#5.1 .
For an explanation, here's what Roberto said on 16 Oct 2000:
Moreover, now Lua compiles without changes as C++ code.
If we add an « #ifdef __cplusplus/extern "C"/{ #endif » to lua.h, then
even when we compile Lua as C++ code it will offer a C interface...
--lhf