use G_{BEGIN,END}_DECLS
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Wed, 30 Oct 2002 09:17:12 +0000 (09:17 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Wed, 30 Oct 2002 09:17:12 +0000 (09:17 +0000)
Original commit message from CVS:
use G_{BEGIN,END}_DECLS

gst/videotestsrc/gstvideotestsrc.h

index 4e8acd7..5b2f8d2 100644 (file)
 #include <config.h>
 #include <gst/gst.h>
 
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
 
 #define GST_TYPE_VIDEOTESTSRC \
   (gst_videotestsrc_get_type())
@@ -83,9 +79,6 @@ static GType gst_videotestsrc_get_type(void);
 
 static void gst_videotestsrc_setup(GstVideotestsrc *);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* __GST_VIDEOTESTSRC_H__ */