mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
pbutils: make marshaller private
There's no reason to make the marshaller public API. Don't install pbutils-marshal.h header file and use prefix that makes sure the symbol doesn't get exported.
This commit is contained in:
parent
c85e958c7c
commit
45ae532162
4 changed files with 5 additions and 7 deletions
|
@ -10,8 +10,8 @@ headers_pbutils = \
|
|||
|
||||
# variables used for enum/marshal generation
|
||||
glib_enum_headers = $(headers_pbutils)
|
||||
glib_enum_define = GST_INSTALL
|
||||
glib_gen_prefix = gst_install
|
||||
glib_enum_define = PB_UTILS
|
||||
glib_gen_prefix = pbutils
|
||||
glib_gen_basename = pbutils
|
||||
|
||||
built_headers_configure = \
|
||||
|
@ -36,9 +36,9 @@ libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
|
|||
$(headers_pbutils)
|
||||
nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
|
||||
$(built_headers_configure) \
|
||||
pbutils-enumtypes.h \
|
||||
pbutils-marshal.h
|
||||
pbutils-enumtypes.h
|
||||
noinst_HEADERS = \
|
||||
pbutils-marshal.h \
|
||||
pbutils-private.h
|
||||
EXTRA_DIST = pbutils-marshal.list
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ gst_discoverer_class_init (GstDiscovererClass * klass)
|
|||
gst_discoverer_signals[SIGNAL_DISCOVERED] =
|
||||
g_signal_new ("discovered", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstDiscovererClass, discovered),
|
||||
NULL, NULL, gst_install_marshal_VOID__POINTER_BOXED,
|
||||
NULL, NULL, pbutils_marshal_VOID__POINTER_BOXED,
|
||||
G_TYPE_NONE, 2, GST_TYPE_DISCOVERER_INFO, GST_TYPE_G_ERROR);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <gst/pbutils/install-plugins.h>
|
||||
#include <gst/pbutils/codec-utils.h>
|
||||
#include <gst/pbutils/pbutils-enumtypes.h>
|
||||
#include <gst/pbutils/pbutils-marshal.h>
|
||||
#include <gst/pbutils/gstdiscoverer.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -57,7 +57,6 @@ EXPORTS
|
|||
gst_discoverer_video_info_get_par_num
|
||||
gst_discoverer_video_info_get_type
|
||||
gst_discoverer_video_info_get_width
|
||||
gst_install_marshal_VOID__POINTER_BOXED
|
||||
gst_install_plugins_async
|
||||
gst_install_plugins_context_free
|
||||
gst_install_plugins_context_get_type
|
||||
|
|
Loading…
Reference in a new issue