gstreamer_core/gst/glib-compat-private.h
changeset 0 0e761a78d257
child 7 567bb019e3e3
equal deleted inserted replaced
-1:000000000000 0:0e761a78d257
       
     1 /*
       
     2  * glib-compat.c
       
     3  * Functions copied from glib 2.10
       
     4  *
       
     5  * Copyright 2005 David Schleef <ds@schleef.org>
       
     6  */
       
     7 
       
     8 #include "gst_private.h" /* for g_warning */
       
     9 #include <glib.h>
       
    10 
       
    11 G_BEGIN_DECLS
       
    12 
       
    13 /* copies */
       
    14 
       
    15 /* adaptations */
       
    16 
       
    17 /* FIXME: remove once we depend on GLib 2.10 */
       
    18 #if (!GLIB_CHECK_VERSION (2, 10, 0))
       
    19 #define g_intern_string(s) g_quark_to_string(g_quark_from_string(s))
       
    20 #endif
       
    21 
       
    22 G_END_DECLS