renamed private to element_private, to make obvious its usage restrictions

Original commit message from CVS:
renamed private to element_private, to make obvious its usage restrictions
This commit is contained in:
Erik Walthinsen 2001-01-11 22:09:29 +00:00
parent 60daf21ed4
commit 558e9f4308
2 changed files with 7 additions and 7 deletions

View file

@ -1126,14 +1126,14 @@ gst_pad_select(GstPad *nextpad, ...) {
void
gst_pad_set_private (GstPad *pad, gpointer private)
gst_pad_set_element_private (GstPad *pad, gpointer private)
{
pad->private = private;
pad->element_private = private;
}
gpointer
gst_pad_get_private (GstPad *pad)
gst_pad_get_element_private (GstPad *pad)
{
return pad->private;
return pad->element_private;
}

View file

@ -85,7 +85,7 @@ struct _GstPad {
gchar *name;
GList *caps;
gpointer private;
gpointer element_private;
cothread_state *threadstate;
@ -183,8 +183,8 @@ gboolean gst_pad_check_compatibility (GstPad *srcpad, GstPad *sinkpad);
void gst_pad_set_name (GstPad *pad, const gchar *name);
const gchar* gst_pad_get_name (GstPad *pad);
void gst_pad_set_private (GstPad *pad, gpointer private);
gpointer gst_pad_get_private (GstPad *pad);
void gst_pad_set_element_private (GstPad *pad, gpointer private);
gpointer gst_pad_get_element_private (GstPad *pad);
void gst_pad_set_parent (GstPad *pad, GstObject *parent);
GstObject* gst_pad_get_parent (GstPad *pad);