summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--girepository/gifunctioninfo.h21
-rw-r--r--girepository/gitypes.h21
2 files changed, 21 insertions, 21 deletions
diff --git a/girepository/gifunctioninfo.h b/girepository/gifunctioninfo.h
index 9c47bd16..a07b60f7 100644
--- a/girepository/gifunctioninfo.h
+++ b/girepository/gifunctioninfo.h
@@ -33,27 +33,6 @@ G_BEGIN_DECLS
#define GI_IS_FUNCTION_INFO(info) \
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FUNCTION)
-/**
- * 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;
-
const gchar * g_function_info_get_symbol (GIFunctionInfo *info);
GIFunctionInfoFlags g_function_info_get_flags (GIFunctionInfo *info);
GIPropertyInfo * g_function_info_get_property (GIFunctionInfo *info);
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__ */