privatise

Original commit message from CVS:
privatise
This commit is contained in:
Thomas Vander Stichele 2004-01-19 18:23:19 +00:00
parent 2dabfe7567
commit 1a12e752e4
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
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> 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/random/error: * docs/random/error:

View file

@ -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 * @format: the printf-like format to use, or NULL
* *
* This function is only used internally by the #gst_element_error macro. * 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 "" * Returns: a newly allocated string, or NULL if the format was NULL or ""
*/ */
gchar * gchar *
gst_element_error_printf (const gchar *format, ...) _gst_element_error_printf (const gchar *format, ...)
{ {
va_list args; va_list args;
gchar *buffer; gchar *buffer;

View file

@ -142,8 +142,8 @@ typedef enum {
#define gst_element_error(el, domain, code, message, debug) G_STMT_START { \ #define gst_element_error(el, domain, code, message, debug) G_STMT_START { \
gst_element_error_extended (GST_ELEMENT(el), \ gst_element_error_extended (GST_ELEMENT(el), \
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \ GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
gst_element_error_printf message, \ _gst_element_error_printf message, \
gst_element_error_printf debug, \ _gst_element_error_printf debug, \
__FILE__, GST_FUNCTION, __LINE__); } G_STMT_END __FILE__, GST_FUNCTION, __LINE__); } G_STMT_END
typedef struct _GstElementFactory GstElementFactory; typedef struct _GstElementFactory GstElementFactory;