summaryrefslogtreecommitdiff
path: root/libs/gst/controller/controller_mkenum.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gst/controller/controller_mkenum.py')
-rwxr-xr-xlibs/gst/controller/controller_mkenum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gst/controller/controller_mkenum.py b/libs/gst/controller/controller_mkenum.py
index f7fbc2151..a9fc18200 100755
--- a/libs/gst/controller/controller_mkenum.py
+++ b/libs/gst/controller/controller_mkenum.py
@@ -8,11 +8,11 @@
import sys, os, shutil, subprocess
h_array = ['--fhead',
- "#ifndef __GST_CONTROLLER_ENUM_TYPES_H__\n#define __GST_CONTROLLER_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n",
+ "#ifndef __GST_CONTROLLER_ENUM_TYPES_H__\n#define __GST_CONTROLLER_ENUM_TYPES_H__\n\n#include <glib-object.h>\n#include <gst/gstconfig.h>\n\nG_BEGIN_DECLS\n",
'--fprod',
"\n/* enumerations from \"@filename@\" */\n",
'--vhead',
- 'GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n',
+ 'GST_EXPORT\nGType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n',
'--ftail',
'G_END_DECLS\n\n#endif /* __GST_CONTROLLER_ENUM_TYPES_H__ */',
]