From: David I. L. <dl...@us...> - 2002-10-30 09:18:15
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: dlehn Date: Wed Oct 30 2002 01:18:13 PST Log message: use G_{BEGIN,END}_DECLS Modified files: examples/plugins: example.h gst/autoplug : gstspider.h gstspideridentity.h gststaticautoplug.h gststaticautoplugrender.h Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/examples/plugins/example.h.diff?r1=1.7&r2=1.8 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/autoplug/gstspider.h.diff?r1=1.4&r2=1.5 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/autoplug/gstspideridentity.h.diff?r1=1.1&r2=1.2 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/autoplug/gststaticautoplug.h.diff?r1=1.3&r2=1.4 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/autoplug/gststaticautoplugrender.h.diff?r1=1.3&r2=1.4 ====Begin Diffs==== Index: example.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/examples/plugins/example.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- example.h 26 May 2002 21:21:37 -0000 1.7 +++ example.h 30 Oct 2002 09:17:31 -0000 1.8 @@ -23,10 +23,7 @@ #include <gst/gst.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS /* This is the definition of the element's object structure. */ typedef struct _GstExample GstExample; @@ -85,10 +82,6 @@ */ GType gst_example_get_type(void); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_EXAMPLE_H__ */ Index: gstspider.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/autoplug/gstspider.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gstspider.h 18 Apr 2002 19:30:55 -0000 1.4 +++ gstspider.h 30 Oct 2002 09:17:31 -0000 1.5 @@ -26,9 +26,7 @@ #include <gst/gst.h> #include "gstspideridentity.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS extern GstElementDetails gst_spider_details; @@ -90,9 +88,6 @@ void gst_spider_identity_plug (GstSpiderIdentity *ident); void gst_spider_identity_unplug (GstSpiderIdentity *ident); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __GST_SPIDER_H__ */ Index: gstspideridentity.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/autoplug/gstspideridentity.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gstspideridentity.h 28 Jan 2002 01:47:31 -0000 1.1 +++ gstspideridentity.h 30 Oct 2002 09:17:32 -0000 1.2 @@ -28,11 +28,7 @@ #include <config.h> #include <gst/gst.h> - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS GstElementDetails gst_spider_identity_details; @@ -81,10 +77,6 @@ GstSpiderIdentity* gst_spider_identity_new_src (gchar *name); GstPad* gst_spider_identity_request_new_pad (GstElement *element, GstPadTemplate *templ, const gchar *name); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_SPIDER_IDENTITY_H__ */ Index: gststaticautoplug.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/autoplug/gststaticautoplug.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gststaticautoplug.h 25 Jun 2001 01:20:08 -0000 1.3 +++ gststaticautoplug.h 30 Oct 2002 09:17:32 -0000 1.4 @@ -26,9 +26,7 @@ #include <gst/gstautoplug.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GST_TYPE_STATIC_AUTOPLUG \ (gst_static_autoplug_get_type()) @@ -55,10 +53,7 @@ GType gst_static_autoplug_get_type (void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_STATIC_AUTOPLUG_H__ */ Index: gststaticautoplugrender.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/autoplug/gststaticautoplugrender.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gststaticautoplugrender.h 25 Jun 2001 01:20:08 -0000 1.3 +++ gststaticautoplugrender.h 30 Oct 2002 09:17:32 -0000 1.4 @@ -26,9 +26,7 @@ #include <gst/gstautoplug.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GST_TYPE_STATIC_AUTOPLUG_RENDER \ (gst_static_autoplug_render_get_type()) @@ -55,10 +53,7 @@ GType gst_static_autoplug_render_get_type (void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_STATIC_AUTOPLUG_H__ */ |