[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Using Lua in a C(++) program
- From: "Nick Trout" <nick@...>
- Date: Fri, 13 Jun 2003 10:18:31 -0700
> From: Alex Sandro Queiroz e Silva
> 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.