Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gstreamer
Commits
31efa367
Commit
31efa367
authored
Oct 30, 2002
by
David I. Lehn
Browse files
use G_{BEGIN,END}_DECLS
Original commit message from CVS: use G_{BEGIN,END}_DECLS
parent
0933f2df
Changes
43
Hide whitespace changes
Inline
Side-by-side
examples/plugins/example.h
View file @
31efa367
...
...
@@ -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 @@ struct _GstExampleClass {
*/
GType
gst_example_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_EXAMPLE_H__ */
gst/autoplug/gstspider.h
View file @
31efa367
...
...
@@ -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 @@ GType gst_spider_get_type (void);
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__ */
gst/autoplug/gstspideridentity.h
View file @
31efa367
...
...
@@ -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_sink (gchar *name);
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__ */
gst/autoplug/gststaticautoplug.h
View file @
31efa367
...
...
@@ -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 @@ struct _GstStaticAutoplugClass {
GType
gst_static_autoplug_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_STATIC_AUTOPLUG_H__ */
gst/autoplug/gststaticautoplugrender.h
View file @
31efa367
...
...
@@ -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 @@ struct _GstStaticAutoplugRenderClass {
GType
gst_static_autoplug_render_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_STATIC_AUTOPLUG_H__ */
gst/elements/gstaggregator.h
View file @
31efa367
...
...
@@ -26,10 +26,7 @@
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
extern
GstElementDetails
gst_aggregator_details
;
...
...
@@ -75,9 +72,6 @@ GType gst_aggregator_get_type (void);
gboolean
gst_aggregator_factory_init
(
GstElementFactory
*
factory
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_AGGREGATOR_H__ */
gst/elements/gstfakesink.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_fakesink_details
;
...
...
@@ -73,9 +69,6 @@ GType gst_fakesink_get_type(void);
gboolean
gst_fakesink_factory_init
(
GstElementFactory
*
factory
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FAKESINK_H__ */
gst/elements/gstfakesrc.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_fakesrc_details
;
...
...
@@ -125,9 +121,6 @@ GType gst_fakesrc_get_type(void);
gboolean
gst_fakesrc_factory_init
(
GstElementFactory
*
factory
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FAKESRC_H__ */
gst/elements/gstfdsink.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_fdsink_details
;
...
...
@@ -65,10 +61,6 @@ struct _GstFdSinkClass {
GType
gst_fdsink_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FDSINK_H__ */
gst/elements/gstfdsrc.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_fdsrc_details
;
...
...
@@ -72,9 +68,6 @@ struct _GstFdSrcClass {
GType
gst_fdsrc_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FDSRC_H__ */
gst/elements/gstfilesink.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_filesink_details
;
...
...
@@ -78,10 +74,6 @@ struct _GstFileSinkClass {
GType
gst_filesink_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FILESINK_H__ */
gst/elements/gstfilesrc.h
View file @
31efa367
...
...
@@ -28,10 +28,7 @@
#include
<gst/gst.h>
#include
<sys/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
#define GST_TYPE_FILESRC \
(gst_filesrc_get_type())
...
...
@@ -83,9 +80,6 @@ struct _GstFileSrcClass {
GType
gst_filesrc_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_FILESRC_H__ */
gst/elements/gstidentity.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_identity_details
;
...
...
@@ -76,10 +72,6 @@ struct _GstIdentityClass {
GType
gst_identity_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_IDENTITY_H__ */
gst/elements/gstmd5sink.h
View file @
31efa367
...
...
@@ -28,11 +28,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_md5sink_details
;
...
...
@@ -78,9 +74,6 @@ GType gst_md5sink_get_type (void);
gboolean
gst_md5sink_factory_init
(
GstElementFactory
*
factory
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_MD5SINK_H__ */
gst/elements/gstmultidisksrc.h
View file @
31efa367
...
...
@@ -26,9 +26,7 @@
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_multidisksrc_details
;
...
...
@@ -77,8 +75,6 @@ struct _GstMultiDiskSrcClass {
GType
gst_multidisksrc_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_MULTIDISKSRC_H__ */
gst/elements/gstmultifilesrc.h
View file @
31efa367
...
...
@@ -26,9 +26,7 @@
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_multidisksrc_details
;
...
...
@@ -77,8 +75,6 @@ struct _GstMultiDiskSrcClass {
GType
gst_multidisksrc_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_MULTIDISKSRC_H__ */
gst/elements/gstpipefilter.h
View file @
31efa367
...
...
@@ -29,10 +29,7 @@
#include
"config.h"
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_pipefilter_details
;
...
...
@@ -82,10 +79,6 @@ struct _GstPipefilterClass {
GType
gst_pipefilter_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_PIPEFILTER_H__ */
gst/elements/gststatistics.h
View file @
31efa367
...
...
@@ -27,11 +27,7 @@
#include
<config.h>
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
GstElementDetails
gst_statistics_details
;
...
...
@@ -86,10 +82,6 @@ struct _GstStatisticsClass {
GType
gst_statistics_get_type
(
void
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_STATISTICS_H__ */
gst/elements/gsttee.h
View file @
31efa367
...
...
@@ -26,10 +26,7 @@
#include
<gst/gst.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
extern
GstElementDetails
gst_tee_details
;
...
...
@@ -64,9 +61,6 @@ GType gst_tee_get_type (void);
gboolean
gst_tee_factory_init
(
GstElementFactory
*
factory
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_TEE_H__ */
gst/registries/gstxmlregistry.h
View file @
31efa367
...
...
@@ -24,9 +24,7 @@
#ifndef __GST_XML_REGISTRY_H__
#define __GST_XML_REGISTRY_H__
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
G_BEGIN_DECLS
#include
<gst/gstregistry.h>
...
...
@@ -126,10 +124,7 @@ GType gst_xml_registry_get_type (void);
GstRegistry
*
gst_xml_registry_new
(
const
gchar
*
name
,
const
gchar
*
location
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
G_END_DECLS
#endif
/* __GST_XML_REGISTRY_H__ */
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment