lua-users home
lua-l archive

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



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