summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-01-31 21:42:32 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 19:20:35 -0500
commit0f5f94ed8a86355003533452a2d6cc8077d27535 (patch)
treeb3551d2692fe51336223659db0f886a01a032eed /tests/scanner/annotation.h
parentf027b6841164fc5c712236b3c40a90808e1b7428 (diff)
downloadgobject-introspection-0f5f94ed8a86355003533452a2d6cc8077d27535.tar.gz
giscanner: Apply standard annotations to constant values
While there's no particular reason I need to do this, there really isn't any reason to not do this, and it helps with doctool or whatever in the future if we want to document when a constant showed up. g-ir-compiler also keeps track of constant deprecations, so this fixes constants not ever being deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=693040
Diffstat (limited to 'tests/scanner/annotation.h')
-rw-r--r--tests/scanner/annotation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scanner/annotation.h b/tests/scanner/annotation.h
index b3b4bd4c..09d4f4f2 100644
--- a/tests/scanner/annotation.h
+++ b/tests/scanner/annotation.h
@@ -180,6 +180,8 @@ GObject * annotation_transfer_floating(void);
* Constant to define a calculated large value
*
* Value: 10000000000UL
+ *
+ * Since: 1.4
*/
#define ANNOTATION_CALCULATED_LARGE (1000 * G_GINT64_CONSTANT (10000000))