2005-09-15 01:10:52 +00:00
|
|
|
/*
|
|
|
|
* glib-compat.c
|
|
|
|
* Functions copied from glib 2.6 and 2.8
|
|
|
|
*
|
|
|
|
* Copyright 2005 David Schleef <ds@schleef.org>
|
|
|
|
*/
|
|
|
|
|
2005-10-13 17:20:44 +00:00
|
|
|
#include "gst_private.h" /* for g_warning */
|
2005-09-15 01:10:52 +00:00
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2005-11-16 12:25:22 +00:00
|
|
|
/* copies */
|
2005-09-15 01:10:52 +00:00
|
|
|
#if !GLIB_CHECK_VERSION (2, 8, 0)
|
|
|
|
int g_mkdir_with_parents (const gchar *pathname, int mode);
|
|
|
|
#endif
|
|
|
|
|
2005-11-16 12:25:22 +00:00
|
|
|
/* adaptations */
|
2005-10-13 15:23:51 +00:00
|
|
|
#include <glib-object.h>
|
|
|
|
GFlagsValue*
|
|
|
|
gst_flags_get_first_value (GFlagsClass *flags_class,
|
|
|
|
guint value);
|
2005-11-16 12:40:18 +00:00
|
|
|
|
|
|
|
GObject*
|
|
|
|
g_value_dup_gst_object (const GValue *value);
|
2005-09-15 01:10:52 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|