[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE:
- From: "Vincent Penquerc'h" <vincent@...>
- Date: Tue, 11 Jul 2000 12:00:57 +0100
> the statement
> "lua_State *L = lua_newstate(NULL);"
> brings about
> "unresolved external symbol "struct lua_State * __cdecl
lua_newstate(char const *,...)""
Depending on the settings (LUA_REENTRANT), lua_State gets declared or not.
When reentrant, it is not emitted, as it is assumed that people will supply
their
own states to the Lua API. If you still want to use it, you will need to put
it
in one of your source files, or compile Lua in non reentrant mode.
--
Lyrian