lua-users home
lua-l archive

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



> -----Original Message-----
> From: John Belmonte [mailto:jvb@prairienet.org]
> Sent: Wednesday, April 09, 2003 8:40 AM
> To: Multiple recipients of list
> Subject: Re: Very small feature request

[skipped]

> My practical argument is that a C++ developer seriously using 
> Lua would make a 
> native C++ interface to the Lua library.  As a side effect of 
> the wrapper, the 
> extern "C" need only been written in one single place, and 
> that is the end of it.

Yep, this is exactly how I have it set up -- Lua is wraped in a C++ class and there is only one <extern "C"> construct in the file implementing that class. Funny, how small things sometimes lead to such allergic reactions.

AB
> 
> -John
> 
> 
> 
> -- 
> http:// if   l .   /
> 
> 
>