diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-06-09 11:53:16 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-06-10 17:31:01 +0100 |
commit | c522010daf747a2430d15c8ca2286a4758324cb1 (patch) | |
tree | 2e21e41bc927cbbf6843c079fc9a06870a5074cf /json-glib/json-version-macros.h | |
parent | 76b753cafc98bda6050849a436f8c390898aedf5 (diff) | |
download | json-glib-c522010daf747a2430d15c8ca2286a4758324cb1.tar.gz |
Update the documentation of the versioning macros
Diffstat (limited to 'json-glib/json-version-macros.h')
-rw-r--r-- | json-glib/json-version-macros.h | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/json-glib/json-version-macros.h b/json-glib/json-version-macros.h index c1c269c..75ac770 100644 --- a/json-glib/json-version-macros.h +++ b/json-glib/json-version-macros.h @@ -41,12 +41,32 @@ #endif /* XXX: Each new cycle should add a new version symbol here */ +/** + * JSON_VERSION_1_0: + * + * The encoded representation of JSON-GLib version "1.0". + */ #define JSON_VERSION_1_0 (G_ENCODE_VERSION (1, 0)) +/** + * JSON_VERSION_1_2: + * + * The encoded representation of JSON-GLib version "1.2". + */ #define JSON_VERSION_1_2 (G_ENCODE_VERSION (1, 2)) +/** + * JSON_VERSION_1_4: + * + * The encoded representation of JSON-GLib version "1.4". + */ #define JSON_VERSION_1_4 (G_ENCODE_VERSION (1, 4)) +/** + * JSON_VERSION_1_6: + * + * The encoded representation of JSON-GLib version "1.6". + */ #define JSON_VERSION_1_6 (G_ENCODE_VERSION (1, 6)) /* evaluates to the current stable version; for development cycles, @@ -73,9 +93,10 @@ * JSON_VERSION_MIN_REQUIRED: * * A macro that should be defined by the user prior to including - * the gdk.h header. - * The definition should be one of the predefined JSON version - * macros: %JSON_VERSION_1_0, %JSON_VERSION_1_2,... + * the `json-glib/json-glib.h` header. + * + * The definition should be one of the predefined JSON-GLib version + * macros: `JSON_VERSION_1_0`, `JSON_VERSION_1_2`, ... * * This macro defines the lower bound for the JSON-GLib API to use. * @@ -93,10 +114,10 @@ * JSON_VERSION_MAX_ALLOWED: * * A macro that should be defined by the user prior to including - * the json-glib.h header. + * the `json-glib/json-glib.h` header. * The definition should be one of the predefined JSON-GLib version - * macros: %JSON_VERSION_1_0, %JSON_VERSION_1_2,... + * macros: `JSON_VERSION_1_0`, `JSON_VERSION_1_2`, ... * * This macro defines the upper bound for the JSON API-GLib to use. * |