[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: C vs C++
- From: "Ashley Fryer" <lua@...>
- Date: Wed, 14 Jul 1999 17:36:13 -0700
You may already know this, but...
extern "C"
{
#include <lua.h>
}
works very well too.
> -----Original Message-----
> From: lua-l@tecgraf.puc-rio.br [mailto:lua-l@tecgraf.puc-rio.br]On
> Behalf Of Adam Wozniak
> Sent: Wednesday, July 14, 1999 1:58 PM
> To: Multiple recipients of list
> Subject: C vs C++
>
>
>
> Eeek.
>
> Howsabout some
>
> #idef _cplusplus
> extern "C"
> {
> #endif
>
> /* normal function prototypes */
>
> #ifdef _cplusplus
> };
> #endif
>
> in your header files?
>
> --Adam
>