mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
privatise
Original commit message from CVS: privatise
This commit is contained in:
parent
2dabfe7567
commit
1a12e752e4
3 changed files with 10 additions and 4 deletions
|
@ -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>
|
||||
|
||||
* 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;
|
||||
|
|
Loading…
Reference in a new issue