diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-05-03 09:51:53 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-05-03 09:51:53 -0400 |
commit | 315f1d61de4e536642e1bcf9f10903e3dd4f584b (patch) | |
tree | c4cf3660e81f57b258b655a16c9ef2648bc8fab3 /doc/gawk.texi | |
parent | e299ba41860f50bdc342a55f2c5ba22a1293cc2f (diff) | |
parent | ffb353c999bd3d5785b92a3aad78a96ff03a4ced (diff) | |
download | egawk-315f1d61de4e536642e1bcf9f10903e3dd4f584b.tar.gz egawk-315f1d61de4e536642e1bcf9f10903e3dd4f584b.tar.bz2 egawk-315f1d61de4e536642e1bcf9f10903e3dd4f584b.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index fd71dbc9..75deb196 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -34155,15 +34155,18 @@ information about how @command{gawk} was invoked. @cindex extension API version The API provides both a ``major'' and a ``minor'' version number. -The API versions are available at compile time as constants: - -@table @code -@item GAWK_API_MAJOR_VERSION -The major version of the API - -@item GAWK_API_MINOR_VERSION -The minor version of the API -@end table +The API versions are available at compile time as C preprocessor defines +to support conditional compilation, and as enum constants to facilitate +debugging: + +@float Table,gawk-api-version +@caption{gawk API version constants} +@multitable @columnfractions .33 .33 .33 +@headitem API Version @tab C preprocessor define @tab enum constant +@item Major @tab gawk_api_major_version @tab GAWK_API_MAJOR_VERSION +@item Minor @tab gawk_api_minor_version @tab GAWK_API_MINOR_VERSION +@end multitable +@end float The minor version increases when new functions are added to the API. Such new functions are always added to the end of the API @code{struct}. |