Add G_BEGIN_DECLS/G_END_DECLS to exported headers

Original commit message from CVS:
Add G_BEGIN_DECLS/G_END_DECLS to exported headers
This commit is contained in:
David Schleef 2003-07-18 20:51:02 +00:00
parent c11ec88b62
commit 6467bbcfed
5 changed files with 24 additions and 0 deletions

View file

@ -25,6 +25,8 @@
#ifndef __GSTCOMPAT_H__
#define __GSTCOMPAT_H__
G_BEGIN_DECLS
#ifndef GST_DISABLE_DEPRECATED
/* 0.5.2 changes */
@ -69,4 +71,6 @@ typedef GstPadLinkFunction GstPadConnectFunction;
*/
#endif /* not GST_DISABLE_DEPRECATED */
G_END_DECLS
#endif /* __GSTCOMPAT_H__ */

View file

@ -24,6 +24,8 @@
#ifndef __GST_CPU_H__
#define __GST_CPU_H__
G_BEGIN_DECLS
typedef enum {
GST_CPU_FLAG_MMX = (1<<0),
GST_CPU_FLAG_SSE = (1<<1),
@ -35,4 +37,6 @@ void _gst_cpu_initialize (gboolean useopt);
GstCPUFlags gst_cpu_get_flags (void);
G_END_DECLS
#endif /* __GST_CPU_H__ */

View file

@ -17,8 +17,17 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_FILTER_H__
#define __GST_FILTER_H__
#include <glib.h>
G_BEGIN_DECLS
typedef gboolean (*GstFilterFunc) (gpointer obj, gpointer user_data);
GList* gst_filter_run (const GList *list, GstFilterFunc func, gboolean first, gpointer user_data);
G_END_DECLS
#endif /* __GST_FILTER_H_ */

View file

@ -23,6 +23,8 @@
#ifndef __GST_LOG_H__
#define __GST_LOG_H__
G_BEGIN_DECLS
extern const char *g_log_domain_gstreamer;
#ifdef G_HAVE_ISO_VARARGS
@ -46,4 +48,6 @@ extern const char *g_log_domain_gstreamer;
#endif
#endif
G_END_DECLS
#endif /* __GST_LOG_H__ */

View file

@ -20,6 +20,8 @@
#ifndef __GST_MACROS_H__
#define __GST_MACROS_H__
G_BEGIN_DECLS
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
# define GST_GNUC_CONSTRUCTOR \
__attribute__ ((constructor))
@ -35,6 +37,7 @@
# undef GST_CAN_INLINE
#endif
G_END_DECLS
#endif /* __GST_MACROS_H__ */