firebird
firebird copied to clipboard
Raised API version because of changes related to #6886
Dmitry & Vlad! I'm not sure - is it correct reason to change FB_API_VER ?
I would use it like this:
void ODBCAttachment::detach(Firebird::CheckStatusWrapper* status)
{
internalDetach(status);
#if FB_API_VER > 40
release();
#endif
}
#if FB_API_VER > 40
void ODBCAttachment::deprecatedDetach(Firebird::CheckStatusWrapper* status)
{
internalDetach(status);
}
#endif
We can also make cloop generate per-interface #define
version, instead of only C++ const.
Generating preprocessor constant together with C++ one seems logical. At least much better than artificial FB_API_VER.