[gobject-introspection] [gifunction.h] Move GIFunctionInfoFlags to gitypes.h



commit 82088625c1a5929ab5fe30bbf8ff455fff2b8098
Author: Johan Dahlin <johan gnome org>
Date:   Sun Jun 6 19:53:41 2010 -0300

    [gifunction.h] Move GIFunctionInfoFlags to gitypes.h

 girepository/gifunctioninfo.h |   21 ---------------------
 girepository/gitypes.h        |   21 +++++++++++++++++++++
 2 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/girepository/gifunctioninfo.h b/girepository/gifunctioninfo.h
index 9c47bd1..a07b60f 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 b6986b4..10a412d 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__ */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]