[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua.h and c++
- From: Rob Kendrick <lua-l@...>
- Date: Wed, 29 Sep 2004 15:49:20 +0100
Daniel Walker wrote:
Unfortunately I can't really accept that solution as the
necessity for it is the exact problem I wished to address.
Furthermore, you may notice that
#define LUA_API extern "C"
#define LUA_API extern
is perfectly valid C code, which completely eliminates the
need for any C++ specifics, and would keep the issue in
question from ever arising again. There really isn't any
benefit in not writing a header like this, so why not?
Surely we'd then just get people who want to compile Lua as C++ complaining?
Rob Kendrick, Pepperfish Ltd. +44 (0)845 226 4146 www.pepperfish.net
PGP signed or encrypted mail welcome Key ID: 3651D17A