diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2014-03-17 18:19:52 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2014-03-17 18:53:27 +0000 |
commit | c69bb976b3e92cb4d4ef270fb955ce1c8f85a281 (patch) | |
tree | 96545d32e184157e2b0ad8bc6151451f3872081f /clutter/clutter-enum-types.h.in | |
parent | 2102573700c84dcb9f94a77eaee7863326ebe3db (diff) | |
download | clutter-c69bb976b3e92cb4d4ef270fb955ce1c8f85a281.tar.gz |
Annotate all public symbols
We are going to switch to compiler annotations to determine the
visibility of the symbols.
Diffstat (limited to 'clutter/clutter-enum-types.h.in')
-rw-r--r-- | clutter/clutter-enum-types.h.in | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/clutter/clutter-enum-types.h.in b/clutter/clutter-enum-types.h.in index a6131c3dc..aea757ed0 100644 --- a/clutter/clutter-enum-types.h.in +++ b/clutter/clutter-enum-types.h.in @@ -2,7 +2,11 @@ #ifndef __CLUTTER_ENUM_TYPES_H__ #define __CLUTTER_ENUM_TYPES_H__ -#include <glib-object.h> +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only <clutter/clutter.h> can be included directly." +#endif + +#include <clutter/clutter-types.h> G_BEGIN_DECLS @@ -12,15 +16,14 @@ G_BEGIN_DECLS /* enumerations from "@filename@" */ /*** END file-production ***/ -/*** BEGIN file-tail ***/ -G_END_DECLS - -#endif /* !__CLUTTER_ENUM_TYPES_H__ */ -/*** END file-tail ***/ - /*** BEGIN value-header ***/ -GType @enum_name@_get_type (void) G_GNUC_CONST; +CLUTTER_AVAILABLE_IN_ALL GType @enum_name@_get_type (void) G_GNUC_CONST; #define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) /*** END value-header ***/ +/*** BEGIN file-tail ***/ +G_END_DECLS + +#endif /* !__CLUTTER_ENUM_TYPES_H__ */ +/*** END file-tail ***/ |