lua-users home
lua-l archive

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


I had to add the following to every Lua header file to be consistent accross
my two target platforms (Win32, Carbon):

#ifdef __cplusplus
extern "C" {
#endif

...

#ifdef __cplusplus
}
#endif

It would be nice if Lua already had this.

Brian Weed
Senior Software Architect
ImaginEngine Corp.