mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
webrtc: use right export define in generated enumtypes file
This commit is contained in:
parent
f48564b700
commit
503769e8e3
2 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,8 @@ glib_enum_headers = dtlstransport.h icetransport.h rtptransceiver.h webrtc_fwd.h
|
|||
glib_enum_define = GST_WEBRTC
|
||||
glib_gen_prefix = gst_webrtc
|
||||
glib_gen_basename = webrtc
|
||||
glib_gen_decl_banner=GST_EXPORT
|
||||
glib_gen_decl_banner=GST_WEBRTC_API
|
||||
glib_gen_decl_include=\#include <gst/webrtc/webrtc_fwd.h>
|
||||
|
||||
built_sources = webrtc-enumtypes.c
|
||||
built_headers = webrtc-enumtypes.h
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
import sys, os, shutil, subprocess
|
||||
|
||||
h_array = ['--fhead',
|
||||
"#ifndef __GST_WEBRTC_ENUM_TYPES_H__\n#define __GST_WEBRTC_ENUM_TYPES_H__\n\n#include <gst/gst.h>\n\nG_BEGIN_DECLS\n",
|
||||
"#ifndef __GST_WEBRTC_ENUM_TYPES_H__\n#define __GST_WEBRTC_ENUM_TYPES_H__\n\n#include <gst/gst.h>\n#include <gst/webrtc/webrtc_fwd.h>\nG_BEGIN_DECLS\n",
|
||||
'--fprod',
|
||||
"\n/* enumerations from \"@filename@\" */\n",
|
||||
'--vhead',
|
||||
"GST_EXPORT GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n",
|
||||
"GST_WEBRTC_API GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n",
|
||||
'--ftail',
|
||||
"G_END_DECLS\n\n#endif /* __GST_WEBRTC_ENUM_TYPES_H__ */"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue