From: <tp...@fr...> - 2005-11-03 13:53:15
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Thu Nov 03 2005 05:53:11 PST Log message: * gst/gstminiobject.h: * gst/gstobject.h: Add !! to _FLAG_IS_SET macros to make the result boolean. Modified files: . : ChangeLog gst : gstminiobject.h gstobject.h Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.1823&r2=1.1824 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstminiobject.h.diff?r1=1.9&r2=1.10 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstobject.h.diff?r1=1.67&r2=1.68 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.1823 retrieving revision 1.1824 diff -u -d -r1.1823 -r1.1824 --- ChangeLog 3 Nov 2005 12:48:29 -0000 1.1823 +++ ChangeLog 3 Nov 2005 13:52:59 -0000 1.1824 @@ -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 <ed...@fl...> * gst/gstpad.c: (gst_pad_set_blocked_async): Index: gstminiobject.h RCS file: /cvs/gstreamer/gstreamer/gst/gstminiobject.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- gstminiobject.h 28 Oct 2005 16:46:58 -0000 1.9 +++ gstminiobject.h 3 Nov 2005 13:52:59 -0000 1.10 @@ -72,7 +72,7 @@ * * 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. Index: gstobject.h RCS file: /cvs/gstreamer/gstreamer/gst/gstobject.h,v retrieving revision 1.67 retrieving revision 1.68 diff -u -d -r1.67 -r1.68 --- gstobject.h 15 Oct 2005 16:33:09 -0000 1.67 +++ gstobject.h 3 Nov 2005 13:52:59 -0000 1.68 @@ -147,7 +147,7 @@ -#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. |