Commit 7ce34c61 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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.
parent 52a29f5b
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__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment