lua-users home
lua-l archive

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


于 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.


Jorge-León


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.