whitespace fixes
[platform/upstream/gstreamer.git] / win32 / gstconfig.h
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 #define LIBDIR "win32:libdir define in vcproj"
28 #define PACKAGE "temp seb package"
29
30 /***** disabling of subsystems *****/
31
32 /* wether or not the debugging subsystem is enabled */
33 /* #undef GST_DISABLE_GST_DEBUG */
34
35 /* DOES NOT WORK */
36 /* #undef GST_DISABLE_LOADSAVE */
37
38 /* DOES NOT WORK */
39 /* #undef GST_DISABLE_PARSE */
40
41 /* DOES NOT WORK */
42 /* #undef GST_DISABLE_TRACE */
43
44 /* DOES NOT WORK */
45 /* #undef GST_DISABLE_ALLOC_TRACE */
46
47 /* DOES NOT WORK */
48 /* #undef GST_DISABLE_REGISTRY */
49
50 /* DOES NOT WORK */
51 /* #undef GST_DISABLE_ENUMTYPES */
52
53 /* DOES NOT WORK */
54 /* #undef GST_DISABLE_INDEX */
55
56 /* DOES NOT WORK */
57 /* #undef GST_DISABLE_PLUGIN */
58
59 /* DOES NOT WORK */
60 /* #undef GST_DISABLE_URI */
61
62 /* printf extension format */
63 #define GST_PTR_FORMAT "P"
64
65 /* whether or not the CPU supports unaligned access */
66 #define GST_HAVE_UNALIGNED_ACCESS 0
67
68 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
69
70 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
71 # include <libxml/parser.h>
72 #else
73 # define GST_DISABLE_LOADSAVE_REGISTRY
74 #endif
75
76 #ifdef WIN32
77 #define GST_PLUGIN_EXPORT __declspec(dllexport) extern
78 #ifdef GST_EXPORTS
79 #define GST_EXPORT __declspec(dllexport) extern
80 #else
81 #define GST_EXPORT __declspec(dllimport) extern
82 #endif
83 #else /* not WIN32 */
84 #define GST_PLUGIN_EXPORT
85 #define GST_EXPORT extern
86 #endif
87
88 #endif /* __GST_CONFIG_H__ */