Cplusplus

To make it compilable with a c++ compiler this is what I did:

Fixed all the casts from void* to T*
Renamed variables using c++ keywords: new, throw, class
Added extern "C" where needed (lua lib headers)
Fixed some inconsistencies between signatures in headers file and .c implementation

Now to compile it against g++ is enough to issue:

CXX=1 make

first benchmarks (posted on mailing list) are promising.

Regards
Gaetano Mendola