lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Why not

#ifdef __cplusplus
#define LUA_API extern C
#define LUA_API extern

>Wim Couwenberg wrote:
>> I think a sensible alternative pops up in each thread on
>> this issue as well.  Don't use the C lua headers, but use
>> C++ counterparts instead.  Suggestion: distribute files
>> clua.h, clauxlib.h and clualib.h (in the ./include dir)
>> and mention them in the manual, where each file simply wraps
>> the C header:
>	That's the best idea I've seen on the subject so far.