1 /* This header interprets the various GST_* macros that are typically *
2 * provided by the gstreamer-config or gstreamer.pc files. */
4 #ifndef __GST_CONFIG_H__
5 #define __GST_CONFIG_H__
7 /***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
10 #define GST_DISABLE_LOADSAVE_REGISTRY 1
11 #define GST_DISABLE_GST_DEBUG 1
12 #define GST_DISABLE_LOADSAVE 1
13 #define GST_DISABLE_PARSE 1
14 #define GST_DISABLE_TRACE 1
15 #define GST_DISABLE_ALLOC_TRACE 1
16 #define GST_DISABLE_REGISTRY 1
17 #define GST_DISABLE_ENUMTYPES 1
18 #define GST_DISABLE_INDEX 1
19 #define GST_DISABLE_PLUGIN 1
20 #define GST_DISABLE_URI 1
24 /***** disabling of subsystems *****/
26 /* wether or not the debugging subsystem is enabled */
27 /* #undef GST_DISABLE_GST_DEBUG */
30 /* #undef GST_DISABLE_LOADSAVE */
33 /* #undef GST_DISABLE_PARSE */
36 /* #undef GST_DISABLE_TRACE */
39 /* #undef GST_DISABLE_ALLOC_TRACE */
42 /* #undef GST_DISABLE_REGISTRY */
45 /* #undef GST_DISABLE_ENUMTYPES */
48 /* #undef GST_DISABLE_INDEX */
51 /* #undef GST_DISABLE_PLUGIN */
54 /* #undef GST_DISABLE_URI */
56 /* printf extension format */
57 #define GST_PTR_FORMAT "P"
59 /* whether or not the CPU supports unaligned access */
60 #define GST_HAVE_UNALIGNED_ACCESS 0
62 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
64 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
65 # include <libxml/parser.h>
67 # define GST_DISABLE_LOADSAVE_REGISTRY
71 #ifdef GSTREAMER_EXPORTS
72 #define GSTREAMER_EXPORT __declspec(dllexport)
74 #define GSTREAMER_EXPORT __declspec(dllimport)
77 #define GSTREAMER_EXPORT
80 #endif /* __GST_CONFIG_H__ */