libs/gst/check/: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 12 Jan 2007 12:48:25 +0000 (12:48 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 12 Jan 2007 12:48:25 +0000 (12:48 +0000)
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.

ChangeLog
libs/gst/check/gstbufferstraw.h
libs/gst/check/gstcheck.h

index 4027857..896a09a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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:
        * tests/check/gst/.cvsignore:
        * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
index 3eba393..9ec4a31 100644 (file)
 
 #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__ */
index ff3c33b..509b176 100644 (file)
@@ -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__ */