lua-users home
lua-l archive

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


> 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".

The mangling name -> cname is the way in which C++ offers
the standard include files (like cstdio.h, cmath.h, etc.)
This scheme is actually part of the C++ standard
requirements.

It has the advantage that it uses (or in fact _may_ use) a
common .h suffix but you can still say #include <clua>,
where #include <lua> would probably pull in the usual lua.h
file. 

Bye,
Wim