diff options
author | Johan Dahlin <johan@gnome.org> | 2010-06-06 19:53:41 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-06-06 19:55:00 -0300 |
commit | 82088625c1a5929ab5fe30bbf8ff455fff2b8098 (patch) | |
tree | f1bd6b9aed7142cb0cab4fa387fcf187b9318a6e /girepository/gitypes.h | |
parent | fa25cf7d285507bfa9e5c4ca05caa3748bfa2018 (diff) | |
download | gobject-introspection-82088625c1a5929ab5fe30bbf8ff455fff2b8098.tar.gz |
[gifunction.h] Move GIFunctionInfoFlags to gitypes.h
Diffstat (limited to 'girepository/gitypes.h')
-rw-r--r-- | girepository/gitypes.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/girepository/gitypes.h b/girepository/gitypes.h index b6986b47..10a412d7 100644 --- a/girepository/gitypes.h +++ b/girepository/gitypes.h @@ -413,5 +413,26 @@ typedef enum GI_VFUNC_MUST_NOT_OVERRIDE = 1 << 2 } GIVFuncInfoFlags; +/** + * GIFunctionInfoFlags: + * @GI_FUNCTION_IS_METHOD: is a method. + * @GI_FUNCTION_IS_CONSTRUCTOR: is a constructor. + * @GI_FUNCTION_IS_GETTER: is a getter of a #GIPropertyInfo. + * @GI_FUNCTION_IS_SETTER: is a setter of a #GIPropertyInfo. + * @GI_FUNCTION_WRAPS_VFUNC: represents a virtual function. + * @GI_FUNCTION_THROWS: the function may throw an error. + * + * Flags for a #GIFunctionInfo struct. + */ +typedef enum +{ + GI_FUNCTION_IS_METHOD = 1 << 0, + GI_FUNCTION_IS_CONSTRUCTOR = 1 << 1, + GI_FUNCTION_IS_GETTER = 1 << 2, + GI_FUNCTION_IS_SETTER = 1 << 3, + GI_FUNCTION_WRAPS_VFUNC = 1 << 4, + GI_FUNCTION_THROWS = 1 << 5 +} GIFunctionInfoFlags; + #endif /* __GITYPES_H__ */ |