value: Properly set value and type for GST_FLAG_SET_MASK_EXACT in GI annotations
authorSebastian Dröge <sebastian@centricular.com>
Wed, 5 Apr 2017 11:26:33 +0000 (14:26 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 5 Apr 2017 11:27:19 +0000 (14:27 +0300)
Storing a -1 inside an unsigned integer confuses GIR based bindings
generators.

gst/gstvalue.h

index 19363c0..90bb4d9 100644 (file)
@@ -210,8 +210,9 @@ G_BEGIN_DECLS
  */
 #define GST_VALUE_HOLDS_FLAG_SET(x)     (G_TYPE_CHECK_VALUE_TYPE ((x), GST_TYPE_FLAG_SET))
 
-/*
- * GST_FLAG_SET_MASK_EXACT:
+/**
+ * GST_FLAG_SET_MASK_EXACT: (value 4294967295) (type guint)
+ *
  * A mask value with all bits set, for use as a
  * #GstFlagSet mask where all flag bits must match
  * exactly