Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philippe Normand
gst-plugins-bad
Commits
503769e8
Commit
503769e8
authored
Mar 22, 2018
by
Tim-Philipp Müller
🐠
Browse files
webrtc: use right export define in generated enumtypes file
parent
f48564b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
gst-libs/gst/webrtc/Makefile.am
View file @
503769e8
...
...
@@ -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
...
...
gst-libs/gst/webrtc/webrtc_mkenum.py
View file @
503769e8
...
...
@@ -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\n
G_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>
\n
G_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__ */"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment