mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
ef7787ed72
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * gst/gst.h: Include glib-compat.h. * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED. * gst/glib-compat.c: Include the public and the private header. * gst/glib-compat-private.h: Copied here from glib-compat.h. * gst/gstvalue.c: * gst/gstpad.c: * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
27 lines
540 B
C
27 lines
540 B
C
/*
|
|
* glib-compat.c
|
|
* Functions copied from glib 2.8
|
|
*
|
|
* Copyright 2005 David Schleef <ds@schleef.org>
|
|
*/
|
|
|
|
#include "gst_private.h" /* for g_warning */
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* copies */
|
|
#if !GLIB_CHECK_VERSION (2, 8, 0)
|
|
int g_mkdir_with_parents (const gchar *pathname, int mode);
|
|
#endif
|
|
|
|
/* adaptations */
|
|
#include <glib-object.h>
|
|
GFlagsValue*
|
|
gst_flags_get_first_value (GFlagsClass *flags_class,
|
|
guint value);
|
|
|
|
GObject*
|
|
g_value_dup_gst_object (const GValue *value);
|
|
G_END_DECLS
|
|
|