lua-users home
lua-l archive

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


On Friday 13 June 2003 09:14, 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:

I was about to propose the same, with a slight difference in file naming. The 
wrapper header files could be called:

  lua.hpp, lauxlib.hpp, lualib.hpp

to clearly mark them as "#include for C++ users".

  Enrico