Re: Setting up Lua for Visual C++ 6
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Setting up Lua for Visual C++ 6
- From: Denis Andreev <denq@...>
- Date: 2002年8月13日 18:14:35 +0400
ftcb> #include <lua.h>
ftcb> int main() {
ftcb> lua_State *s = lua_open(256);
ftcb> return 0;
ftcb> }
You must use:
extern "C" {
#include <lua.h>
}
This is a C calling conversation missmatch.
--Denq