diff options
author | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-08-13 17:28:30 +0200 |
---|---|---|
committer | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-08-16 18:43:23 +0200 |
commit | 169b206cbb4b347e4b17854e8f0c62a40404f803 (patch) | |
tree | 929ddaefcedf7c9d4778ea355e58f0b1cc2f2f96 /girepository/gienuminfo.h | |
parent | 64848acb817369436d629d153c5750789c0addc3 (diff) | |
download | gobject-introspection-169b206cbb4b347e4b17854e8f0c62a40404f803.tar.gz |
Allow enums and bitfields to have static methods
This uses the same backcompat machinery that was introduced for static
methods for non-class types, so this change does not break users of the
existing presentations.
New libgirepository API:
g_enum_info_get_n_methods
g_enum_info_get_method
https://bugzilla.gnome.org/show_bug.cgi?id=656499
Diffstat (limited to 'girepository/gienuminfo.h')
-rw-r--r-- | girepository/gienuminfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/gienuminfo.h b/girepository/gienuminfo.h index fc0f3c84..def97f95 100644 --- a/girepository/gienuminfo.h +++ b/girepository/gienuminfo.h @@ -40,6 +40,9 @@ G_BEGIN_DECLS gint g_enum_info_get_n_values (GIEnumInfo *info); GIValueInfo * g_enum_info_get_value (GIEnumInfo *info, gint n); +gint g_enum_info_get_n_methods (GIEnumInfo *info); +GIFunctionInfo * g_enum_info_get_method (GIEnumInfo *info, + gint n); GITypeTag g_enum_info_get_storage_type (GIEnumInfo *info); const gchar * g_enum_info_get_error_domain (GIEnumInfo *info); |