introspection: add some missing annotations

This commit is contained in:
Evan Nemerson 2012-06-12 11:42:30 -07:00 committed by Sebastian Dröge
parent 36d034d1e4
commit d13ce8b7e8
5 changed files with 11 additions and 8 deletions

View file

@ -81,10 +81,10 @@ typedef struct _GstBinPrivate GstBinPrivate;
/** /**
* GstBin: * GstBin:
* @numchildren: the number of children in this bin * @numchildren: the number of children in this bin
* @children: the list of children in this bin * @children: (element-type Gst.Element): the list of children in this bin
* @children_cookie: updated whenever @children changes * @children_cookie: updated whenever @children changes
* @child_bus: internal bus for handling child messages * @child_bus: internal bus for handling child messages
* @messages: queued and cached messages * @messages: (element-type Gst.Message): queued and cached messages
* @polling: the bin is currently calculating its state * @polling: the bin is currently calculating its state
* @state_dirty: the bin needs to recalculate its state (deprecated) * @state_dirty: the bin needs to recalculate its state (deprecated)
* @clock_dirty: the bin needs to select a new clock * @clock_dirty: the bin needs to select a new clock

View file

@ -362,6 +362,7 @@ struct _GstClockEntry {
gboolean unscheduled; gboolean unscheduled;
gboolean woken_up; gboolean woken_up;
/*< private >*/
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };

View file

@ -532,11 +532,11 @@ G_STMT_START { \
* state will yield the running_time against the clock. * state will yield the running_time against the clock.
* @start_time: the running_time of the last PAUSED state * @start_time: the running_time of the last PAUSED state
* @numpads: number of pads of the element, includes both source and sink pads. * @numpads: number of pads of the element, includes both source and sink pads.
* @pads: list of pads * @pads: (element-type Gst.Pad): list of pads
* @numsrcpads: number of source pads of the element. * @numsrcpads: number of source pads of the element.
* @srcpads: list of source pads * @srcpads: (element-type Gst.Pad): list of source pads
* @numsinkpads: number of sink pads of the element. * @numsinkpads: number of sink pads of the element.
* @sinkpads: list of sink pads * @sinkpads: (element-type Gst.Pad): list of sink pads
* @pads_cookie: updated whenever the a pad is added or removed * @pads_cookie: updated whenever the a pad is added or removed
* *
* GStreamer element abstract base class. * GStreamer element abstract base class.

View file

@ -229,7 +229,7 @@ gst_object_init (GstObject * object)
/** /**
* gst_object_ref: * gst_object_ref:
* @object: a #GstObject to reference * @object: (type Gst.Object): a #GstObject to reference
* *
* Increments the reference count on @object. This function * Increments the reference count on @object. This function
* does not take the lock on @object because it relies on * does not take the lock on @object because it relies on
@ -239,7 +239,7 @@ gst_object_init (GstObject * object)
* constructs like : * constructs like :
* result = gst_object_ref (object->parent); * result = gst_object_ref (object->parent);
* *
* Returns: (transfer full): A pointer to @object * Returns: (transfer full) (type Gst.Object): A pointer to @object
*/ */
gpointer gpointer
gst_object_ref (gpointer object) gst_object_ref (gpointer object)
@ -257,7 +257,7 @@ gst_object_ref (gpointer object)
/** /**
* gst_object_unref: * gst_object_unref:
* @object: a #GstObject to unreference * @object: (type Gst.Object): a #GstObject to unreference
* *
* Decrements the reference count on @object. If reference count hits * Decrements the reference count on @object. If reference count hits
* zero, destroy @object. This function does not take the lock * zero, destroy @object. This function does not take the lock

View file

@ -126,6 +126,7 @@ struct _GstPadTemplate {
GstPadPresence presence; GstPadPresence presence;
GstCaps *caps; GstCaps *caps;
/*< private >*/
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };
@ -135,6 +136,7 @@ struct _GstPadTemplateClass {
/* signal callbacks */ /* signal callbacks */
void (*pad_created) (GstPadTemplate *templ, GstPad *pad); void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
/*< private >*/
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };