[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: about the final version
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 11 Oct 2000 16:02:17 -0200
> Could all API functions be identified as such in header and code with a
> macro such as LUA_API_FUNCTION, so that those of us who would like to build
> Lua as a Windows DLL can do so easily?
Do you mean a macro at the beginning of each declaration, such as
LUA_API_FUNCTION void lua_settable (...);
LUA_API_FUNCTION void lua_settable (...) { ...
Is this enough for all Windows uses? Don't you need another macro between
the type and the function name for things such as `cdecl' (or something
like that)?
-- Roberto