[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Here is a newbie ;-)
- From: erik@... (Erik Hougaard)
- Date: Tue, 14 Mar 2000 15:41:19 +0100
Christophe Gimenez wrote:
>
> Okay I found by my self... My test was a .cpp file and thus treated by the c++ compiler.
>
> But if I want to call lua functions from a C++ program ?
>
> do I need :
>
> extern "C"
> {
> #lua includes
> }
>
Yes, cause Lua is straight C - several people have made different C++
wrappers but they are not part of the official distribution!
/Erik