privatise

Original commit message from CVS:
privatise
parent 2dabfe75
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.c: (_gst_element_error_printf):
* gst/gstelement.h:
privatise function
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/random/error:
......
......@@ -2350,7 +2350,7 @@ gst_element_convert (GstElement *element,
}
/**
* gst_element_error_printf:
* _gst_element_error_printf:
* @format: the printf-like format to use, or NULL
*
* This function is only used internally by the #gst_element_error macro.
......@@ -2358,7 +2358,7 @@ gst_element_convert (GstElement *element,
* Returns: a newly allocated string, or NULL if the format was NULL or ""
*/
gchar *
gst_element_error_printf (const gchar *format, ...)
_gst_element_error_printf (const gchar *format, ...)
{
va_list args;
gchar *buffer;
......
......@@ -142,8 +142,8 @@ typedef enum {
#define gst_element_error(el, domain, code, message, debug) G_STMT_START { \
gst_element_error_extended (GST_ELEMENT(el), \
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
gst_element_error_printf message, \
gst_element_error_printf debug, \
_gst_element_error_printf message, \
_gst_element_error_printf debug, \
__FILE__, GST_FUNCTION, __LINE__); } G_STMT_END
typedef struct _GstElementFactory GstElementFactory;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment