lua-users home
lua-l archive

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



> From: Alex Sandro Queiroz e Silva
> Hallo,
> 
> 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.

Could we just have one file, say "clua.hpp", with the .hpp emphasising
that it's a C++ interface containing the extern "C" and all the headers
- after all they aren't massive files.

Nick