mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
gst/: Add !! to _FLAG_IS_SET macros to make the result boolean.
Original commit message from CVS: * gst/gstminiobject.h: * gst/gstobject.h: Add !! to _FLAG_IS_SET macros to make the result boolean.
This commit is contained in:
parent
7c1da7fee0
commit
22993965c7
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstminiobject.h:
|
||||
* gst/gstobject.h:
|
||||
Add !! to _FLAG_IS_SET macros to make the result boolean.
|
||||
|
||||
2005-11-03 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.c: (gst_pad_set_blocked_async):
|
||||
|
|
|
@ -72,7 +72,7 @@ typedef void (*GstMiniObjectFinalizeFunction) (GstMiniObject *obj);
|
|||
*
|
||||
* This macro checks to see if the given flag is set.
|
||||
*/
|
||||
#define GST_MINI_OBJECT_FLAG_IS_SET(obj,flag) (GST_MINI_OBJECT_FLAGS (obj) & (flag))
|
||||
#define GST_MINI_OBJECT_FLAG_IS_SET(obj,flag) !!(GST_MINI_OBJECT_FLAGS (obj) & (flag))
|
||||
/**
|
||||
* GST_MINI_OBJECT_FLAG_SET:
|
||||
* @obj: MiniObject to set flag in.
|
||||
|
|
|
@ -147,7 +147,7 @@ typedef enum
|
|||
*
|
||||
* This macro checks to see if the given flag is set.
|
||||
*/
|
||||
#define GST_OBJECT_FLAG_IS_SET(obj,flag) (GST_OBJECT_FLAGS (obj) & (flag))
|
||||
#define GST_OBJECT_FLAG_IS_SET(obj,flag) !!(GST_OBJECT_FLAGS (obj) & (flag))
|
||||
/**
|
||||
* GST_OBJECT_FLAG_SET:
|
||||
* @obj: Object to set flag in.
|
||||
|
|
Loading…
Reference in a new issue