diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-02 17:14:27 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-07 16:08:40 +0800 |
commit | 0c479224642498769daf3144a67f64bdb0714424 (patch) | |
tree | b264c3775534dbc0107a8f1f0ae30e145f668aa6 /gdk-pixbuf/gdk-pixbuf-enum-types.h.template | |
parent | f0312dd9277178691442a0b23e0547fb59c6bf16 (diff) | |
download | gdk-pixbuf-0c479224642498769daf3144a67f64bdb0714424.tar.gz |
Add version macro header
Add a version macro header that would reveal the availability of the
various APIs, which is used to indicate what stable release series an
API is available, and what release series is an API deprecated. This
is also used to export the symbols using compiler directives, which
would eliminate the need to maintain .symbols files.
Annotate the symbols in the pubic headers accordingly, and update the
doc sections file so that the macros are included in the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=767164
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-enum-types.h.template')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-enum-types.h.template | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template index 4ecb7161d..8dad58f2b 100644 --- a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template +++ b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template @@ -8,6 +8,8 @@ #include <glib-object.h> +#include <gdk-pixbuf/gdk-pixbuf-macros.h> + G_BEGIN_DECLS /*** END file-header ***/ @@ -17,6 +19,7 @@ G_BEGIN_DECLS /*** END file-production ***/ /*** BEGIN value-header ***/ +GDK_PIXBUF_AVAILABLE_IN_ALL GType @enum_name@_get_type (void) G_GNUC_CONST; #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ |