[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: request for barebone MSVC++ host application
- From: Brian Hook <brianhook@...>
- Date: Tue, 05 Mar 2002 09:33:09 -0800
Probably an FAQ....why don't the Lua headers just do an #ifdef
__cplusplus?
Brian
> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br] On Behalf Of Matt Holmes
> Sent: Tuesday, March 05, 2002 5:20 AM
> To: Multiple recipients of list
> Subject: RE: request for barebone MSVC++ host application
>
>
> Make sure to wrap all your Lua includes in extern "C" { },
> for instance:
>
> extern "C"
> {
> #include <lua.h>
> #include <lualib.h>
> #include <lauxlib.h>
> #include <luadebug.h>
> }
>
> Matt