[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua-5.1.4 and lua-5.2.0-beta patches for WinCE and better Win32 integration
- From: Peng Zhicheng <pengzhicheng1986@...>
- Date: Wed, 26 Oct 2011 21:54:44 +0800
于 2011-10-26 4:37, Georg Lehner 写道:
LUAI_FUNC and LUAI_DATA/LUAI_DDEC are declared for proper export with _delcspec(dllexport)
under _MSC_VER just like already done for LUA_API and LUALIB_API. I needed this for luac.exe.
you don't need to export these functions, since they are not supposed to appear as APIs in the library (lua51.lib or lua51.dll).
just statically link luac.exe against the other .o files instead of the library would solve your problem.