mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
clean up marshal generation
Original commit message from CVS: clean up marshal generation
This commit is contained in:
parent
8638019c7f
commit
c8df96ea93
3 changed files with 21 additions and 22 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/level/Makefile.am:
|
||||
* gst/level/gstlevel.c: (gst_level_class_init):
|
||||
clean up marshal generation
|
||||
|
||||
2004-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/tcp/Makefile.am:
|
||||
|
|
|
@ -1,8 +1,18 @@
|
|||
|
||||
plugin_LTLIBRARIES = libgstlevel.la
|
||||
|
||||
# variables used for enum/marshal generation
|
||||
glib_enum_define = GST_LEVEL
|
||||
glib_enum_prefix = gst_level
|
||||
|
||||
include $(top_srcdir)/common/glib-gen.mak
|
||||
|
||||
built_sources = gstlevel-marshal.c
|
||||
built_headers = gstlevel-marshal.h
|
||||
|
||||
BUILT_SOURCES = $(built_sources) $(built_headers)
|
||||
|
||||
libgstlevel_la_SOURCES = gstlevel.c
|
||||
nodist_libgstlevel_la_SOURCES = gstlevel-marshal.c gstlevel-marshal.h
|
||||
nodist_libgstlevel_la_SOURCES = $(built_sources)
|
||||
libgstlevel_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstlevel_la_LIBADD =
|
||||
libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
@ -21,23 +31,6 @@ endif
|
|||
|
||||
EXTRA_libgstlevel_la_SOURCES = gstlevel-marshal.list
|
||||
|
||||
BUILT_SOURCES = \
|
||||
gstlevel-marshal.c \
|
||||
gstlevel-marshal.h
|
||||
CLEANFILES = \
|
||||
gstlevel-marshal.c \
|
||||
gstlevel-marshal.h
|
||||
|
||||
|
||||
gstlevel-marshal.h: gstlevel-marshal.list
|
||||
glib-genmarshal --header --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list > gstlevel-marshal.h.tmp
|
||||
mv gstlevel-marshal.h.tmp gstlevel-marshal.h
|
||||
|
||||
gstlevel-marshal.c: gstlevel-marshal.list
|
||||
echo "#include \"glib.h\"" > gstlevel-marshal.c.tmp
|
||||
echo "#include \"glib-object.h\"" >> gstlevel-marshal.c.tmp
|
||||
echo "#include \"gstlevel-marshal.h\"" >> gstlevel-marshal.c.tmp
|
||||
glib-genmarshal --body --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list >> gstlevel-marshal.c.tmp
|
||||
mv gstlevel-marshal.c.tmp gstlevel-marshal.c
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST = README
|
||||
|
|
|
@ -406,7 +406,7 @@ gst_level_class_init (GstLevelClass * klass)
|
|||
gst_filter_signals[SIGNAL_LEVEL] =
|
||||
g_signal_new ("level", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstLevelClass, level), NULL, NULL,
|
||||
gstlevel_cclosure_marshal_VOID__DOUBLE_INT_DOUBLE_DOUBLE_DOUBLE,
|
||||
gst_level_marshal_VOID__DOUBLE_INT_DOUBLE_DOUBLE_DOUBLE,
|
||||
G_TYPE_NONE, 5,
|
||||
G_TYPE_DOUBLE, G_TYPE_INT, G_TYPE_DOUBLE, G_TYPE_DOUBLE, G_TYPE_DOUBLE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue