gstminiobject.h | gstminiobject.h | |||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define GST_TYPE_MINI_OBJECT (gst_mini_object_get_type()) | #define GST_TYPE_MINI_OBJECT (gst_mini_object_get_type()) | |||
#define GST_IS_MINI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G ST_TYPE_MINI_OBJECT)) | #define GST_IS_MINI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G ST_TYPE_MINI_OBJECT)) | |||
#define GST_IS_MINI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MINI_OBJECT)) | #define GST_IS_MINI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MINI_OBJECT)) | |||
#define GST_MINI_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G ST_TYPE_MINI_OBJECT, GstMiniObjectClass)) | #define GST_MINI_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G ST_TYPE_MINI_OBJECT, GstMiniObjectClass)) | |||
#define GST_MINI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G ST_TYPE_MINI_OBJECT, GstMiniObject)) | #define GST_MINI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G ST_TYPE_MINI_OBJECT, GstMiniObject)) | |||
#define GST_MINI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GS T_TYPE_MINI_OBJECT, GstMiniObjectClass)) | #define GST_MINI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GS T_TYPE_MINI_OBJECT, GstMiniObjectClass)) | |||
#define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj)) | #define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj)) | |||
#define GST_MINI_OBJECT_CONST_CAST(obj) ((const GstMiniObject*)(obj)) | ||||
typedef struct _GstMiniObject GstMiniObject; | typedef struct _GstMiniObject GstMiniObject; | |||
typedef struct _GstMiniObjectClass GstMiniObjectClass; | typedef struct _GstMiniObjectClass GstMiniObjectClass; | |||
/** | /** | |||
* GstMiniObjectCopyFunction: | * GstMiniObjectCopyFunction: | |||
* @obj: MiniObject to copy | * @obj: MiniObject to copy | |||
* | * | |||
* Virtual function prototype for methods to create copies of instances. | * Virtual function prototype for methods to create copies of instances. | |||
* | * | |||
skipping to change at line 140 | skipping to change at line 141 | |||
*/ | */ | |||
#define GST_MINI_OBJECT_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(GST_MI NI_OBJECT_CAST(obj))->refcount)) | #define GST_MINI_OBJECT_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(GST_MI NI_OBJECT_CAST(obj))->refcount)) | |||
/** | /** | |||
* GstMiniObject: | * GstMiniObject: | |||
* @instance: type instance | * @instance: type instance | |||
* @refcount: atomic refcount | * @refcount: atomic refcount | |||
* @flags: extra flags. | * @flags: extra flags. | |||
* | * | |||
* Base class for refcounted lightweight objects. | * Base class for refcounted lightweight objects. | |||
* Ref Func: gst_mini_object_ref | ||||
* Unref Func: gst_mini_object_unref | ||||
* Set Value Func: gst_value_set_mini_object | ||||
* Get Value Func: gst_value_get_mini_object | ||||
*/ | */ | |||
struct _GstMiniObject { | struct _GstMiniObject { | |||
GTypeInstance instance; | GTypeInstance instance; | |||
/*< public >*/ /* with COW */ | /*< public >*/ /* with COW */ | |||
gint refcount; | gint refcount; | |||
guint flags; | guint flags; | |||
/*< private >*/ | /*< private >*/ | |||
gpointer _gst_reserved; | gpointer _gst_reserved; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |