Constants
The resulting Firebird.pas
file is missing isc_*
constants. Theseconstants for C/C++ languages can be found underhttps://github.com/FirebirdSQL/firebird/blob/B3_0_Release/src/include/consts_pub.h.To obtain constants for the Pascal language, we use the AWK script forsyntax transformations. On Windows you will need to install Gawk forWindows or use the Windows Subsystem for Linux (available atWindows 10). This is done with the following command:
awk -f Pascal.Constants.awk consts_pub.h > const.pas
TThe contents of the resulting file must be copied into the empty constsection of the Firebird.pas
file immediately after implementation.The file Pascal.Constants.awk
can be found athttps://github.com/FirebirdSQL/firebird/tree/B3_0_Release/src/misc/pascal.