Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
[platform/upstream/glib.git] / glib / goption.h
index fca5802..dcd36e4 100644 (file)
@@ -34,7 +34,9 @@ typedef enum
 {
   G_OPTION_FLAG_HIDDEN       = 1 << 0,
   G_OPTION_FLAG_IN_MAIN      = 1 << 1,
-  G_OPTION_FLAG_REVERSE             = 1 << 2
+  G_OPTION_FLAG_REVERSE      = 1 << 2,
+  G_OPTION_FLAG_NO_ARG       = 1 << 3,
+  G_OPTION_FLAG_FILENAME     = 1 << 4
 } GOptionFlags;
 
 typedef enum
@@ -72,7 +74,7 @@ typedef enum
   G_OPTION_ERROR_FAILED
 } GOptionError;
 
-GQuark g_option_error_quark (void) G_GNUC_CONST;
+GQuark g_option_error_quark (void);
 
 
 struct _GOptionEntry