Removed plugable schedulers.
[platform/upstream/gstreamer.git] / gst / gstconfig.h.in
1 /* This header interprets the various GST_* macros that are typically   *
2  * provided by the gstreamer-config or gstreamer.pc files.              */
3
4 #ifndef __GST_CONFIG_H__
5 #define __GST_CONFIG_H__
6
7 /***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
8
9 #if 0
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
21 #endif
22
23 /***** default padding of structures *****/
24 #define GST_PADDING             4
25 #define GST_PADDING_INIT        {0}
26
27 /***** disabling of subsystems *****/
28
29 /* wether or not the debugging subsystem is enabled */
30 @GST_DISABLE_GST_DEBUG_DEFINE@
31
32 /* DOES NOT WORK */
33 @GST_DISABLE_LOADSAVE_DEFINE@
34
35 /* DOES NOT WORK */
36 @GST_DISABLE_PARSE_DEFINE@
37
38 /* DOES NOT WORK */
39 @GST_DISABLE_TRACE_DEFINE@
40
41 /* DOES NOT WORK */
42 @GST_DISABLE_ALLOC_TRACE_DEFINE@
43
44 /* DOES NOT WORK */
45 @GST_DISABLE_REGISTRY_DEFINE@
46
47 /* DOES NOT WORK */
48 @GST_DISABLE_ENUMTYPES_DEFINE@
49
50 /* DOES NOT WORK */
51 @GST_DISABLE_INDEX_DEFINE@
52
53 /* DOES NOT WORK */
54 @GST_DISABLE_PLUGIN_DEFINE@
55
56 /* DOES NOT WORK */
57 @GST_DISABLE_URI_DEFINE@
58
59 /* printf extension format */
60 /**
61  * GST_PTR_FORMAT:
62  *
63  * printf format type used to debug GStreamer types.
64  * This can only be used on types whose size is >= sizeof(gpointer).
65  */
66 @GST_PRINTF_EXTENSION_FORMAT_DEFINE@
67
68 /* whether or not the CPU supports unaligned access */
69 @GST_HAVE_UNALIGNED_ACCESS_DEFINE@
70
71 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
72
73 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
74 # include <libxml/parser.h>
75 #else
76 # define GST_DISABLE_LOADSAVE_REGISTRY
77 #endif
78
79 /**
80  * GST_EXPORT:
81  *
82  * Export the given variable from the built shared object.
83  *
84  * On Windows, this exports the variable from the DLL.
85  * On other platforms, this gets defined to "extern".
86  */
87 /**
88  * GST_PLUGIN_EXPORT:
89  *
90  * Export the plugin's definition.
91  *
92  * On Windows, this exports the plugin definition from the DLL.
93  * On other platforms, this gets defined as a no-op.
94  */
95 #ifdef WIN32
96 #define GST_PLUGIN_EXPORT __declspec(dllexport) extern
97 #ifdef GST_EXPORTS
98 #define GST_EXPORT __declspec(dllexport) extern
99 #else
100 #define GST_EXPORT __declspec(dllimport) extern
101 #endif
102 #else /* not WIN32 */
103 #define GST_PLUGIN_EXPORT
104 #define GST_EXPORT extern
105 #endif
106
107 #endif /* __GST_CONFIG_H__ */