lua-users home
lua-l archive

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


In this file, there are references to the C++ class, so I don't think
this is an option.  Although I might be wrong.  I would post the file,
but it's quite large.

wes

On 10/11/06, Nick Gammon <nick@gammon.com.au> wrote:

On 12/10/2006, at 3:49 PM, Wesley Smith wrote:

> Does anyone have any experience with this problem?  If I don't compile
> the file as C++, I get massive errors.  Any ideas?

Without totally understanding the problem, it sounds like you need:

extern "C"
   {
   // whatever it is
   }