mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
libs/gst/check/: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it belongs.
Original commit message from CVS: * libs/gst/check/gstbufferstraw.h: * libs/gst/check/gstcheck.h: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it belongs.
This commit is contained in:
parent
52a29f5bb4
commit
7ce34c615d
3 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* libs/gst/check/gstbufferstraw.h:
|
||||
* libs/gst/check/gstcheck.h:
|
||||
Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
|
||||
belongs.
|
||||
|
||||
2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* tests/check/Makefile.am:
|
||||
|
|
|
@ -24,10 +24,12 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
void gst_buffer_straw_start_pipeline (GstElement * bin, GstPad * pad);
|
||||
GstBuffer *gst_buffer_straw_get_buffer (GstElement * bin, GstPad * pad);
|
||||
void gst_buffer_straw_stop_pipeline (GstElement * bin, GstPad * pad);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_BUFFER_STRAW_H__ */
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (check_debug);
|
||||
#define GST_CAT_DEFAULT check_debug
|
||||
|
||||
|
@ -289,8 +291,6 @@ fail_unless (gst_element_set_state (element, \
|
|||
state) == ret, \
|
||||
"could not change state to " #state);
|
||||
|
||||
#endif /* __GST_CHECK_H__ */
|
||||
|
||||
#define GST_CHECK_MAIN(name) \
|
||||
int main (int argc, char **argv) \
|
||||
{ \
|
||||
|
@ -298,3 +298,7 @@ int main (int argc, char **argv) \
|
|||
gst_check_init (&argc, &argv); \
|
||||
return gst_check_run_suite (s, # name, __FILE__); \
|
||||
}
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_CHECK_H__ */
|
||||
|
|
Loading…
Reference in a new issue