[beast: 4/15] PLUGINS: remove 'extern "C"' from all API
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 4/15] PLUGINS: remove 'extern "C"' from all API
- Date: Fri, 28 Oct 2016 11:16:59 +0000 (UTC)
commit 9543ee4fd2bb89d8d5347dfe293650873739bb8e
Author: Tim Janik <timj gnu org>
Date: Wed Oct 26 22:30:37 2016 +0200
PLUGINS: remove 'extern "C"' from all API
Signed-off-by: Tim Janik <timj gnu org>
plugins/bseadder.hh | 8 --------
plugins/bseatandistort.hh | 8 --------
plugins/bsefirfilter.hh | 8 --------
plugins/bseiirfilter.hh | 7 -------
plugins/bsemixer.hh | 7 -------
plugins/bsemult.hh | 8 --------
plugins/bsesequencer.hh | 8 --------
plugins/bsesimpleadsr.hh | 4 ----
plugins/davcanyondelay.hh | 4 ----
plugins/davguitar.hh | 7 -------
plugins/davsyndrum.hh | 4 ----
plugins/davxtalstrings.hh | 8 --------
plugins/freeverb/bsefreeverb.hh | 4 ----
plugins/freeverb/bsefreeverbcpp.cpp | 4 ----
plugins/freeverb/bsefreeverbcpp.hh | 4 ----
15 files changed, 0 insertions(+), 93 deletions(-)
---
diff --git a/plugins/bseadder.hh b/plugins/bseadder.hh
index df935e2..40eefcb 100644
--- a/plugins/bseadder.hh
+++ b/plugins/bseadder.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define BSE_TYPE_ADDER (bse_adder_get_type())
@@ -39,8 +35,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __BSE_ADDER_H__ */
diff --git a/plugins/bseatandistort.hh b/plugins/bseatandistort.hh
index c8a704c..5f2a336 100644
--- a/plugins/bseatandistort.hh
+++ b/plugins/bseatandistort.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define BSE_TYPE_ATAN_DISTORT (bse_atan_distort_get_type())
@@ -38,8 +34,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __BSE_ATAN_DISTORT_H__ */
diff --git a/plugins/bsefirfilter.hh b/plugins/bsefirfilter.hh
index 94b3871..312bf13 100644
--- a/plugins/bsefirfilter.hh
+++ b/plugins/bsefirfilter.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
@@ -56,8 +52,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __BSE_FIR_FILTER_H__ */
diff --git a/plugins/bseiirfilter.hh b/plugins/bseiirfilter.hh
index 8343b15..b77f84a 100644
--- a/plugins/bseiirfilter.hh
+++ b/plugins/bseiirfilter.hh
@@ -3,10 +3,6 @@
#define __BSE_IIR_FILTER_H__
#include <bse/bsesource.hh>
#include <bse/bseenums.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#define BSE_TYPE_IIR_FILTER (bse_iir_filter_get_type())
#define BSE_IIR_FILTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_IIR_FILTER,
BseIIRFilter))
#define BSE_IIR_FILTER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_IIR_FILTER,
BseIIRFilterClass))
@@ -44,7 +40,4 @@ enum
BSE_IIR_FILTER_N_OCHANNELS
};
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
#endif /* __BSE_IIR_FILTER_H__ */
diff --git a/plugins/bsemixer.hh b/plugins/bsemixer.hh
index 90700d1..e9fb9b8 100644
--- a/plugins/bsemixer.hh
+++ b/plugins/bsemixer.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define BSE_TYPE_MIXER (bse_mixer_get_type())
@@ -30,7 +26,4 @@ enum
{
BSE_MIXER_OCHANNEL_MONO
};
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
#endif /* __BSE_MIXER_H__ */
diff --git a/plugins/bsemult.hh b/plugins/bsemult.hh
index 5769793..3a0ca27 100644
--- a/plugins/bsemult.hh
+++ b/plugins/bsemult.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define BSE_TYPE_MULT (bse_mult_get_type())
@@ -40,8 +36,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __BSE_MULT_H__ */
diff --git a/plugins/bsesequencer.hh b/plugins/bsesequencer.hh
index ea16c14..9acb0b7 100644
--- a/plugins/bsesequencer.hh
+++ b/plugins/bsesequencer.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define BSE_TYPE_SEQUENCER (bse_sequencer_get_type())
@@ -37,8 +33,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __BSE_SEQUENCER_H__ */
diff --git a/plugins/bsesimpleadsr.hh b/plugins/bsesimpleadsr.hh
index ca3db14..1ec8067 100644
--- a/plugins/bsesimpleadsr.hh
+++ b/plugins/bsesimpleadsr.hh
@@ -5,8 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-G_BEGIN_DECLS
-
/* --- object type macros --- */
#define BSE_TYPE_SIMPLE_ADSR (bse_simple_adsr_get_type())
#define BSE_SIMPLE_ADSR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_SIMPLE_ADSR,
BseSimpleADSR))
@@ -45,6 +43,4 @@ enum
BSE_SIMPLE_ADSR_N_OCHANNELS
};
-G_END_DECLS
-
#endif /* __BSE_SIMPLE_ADSR_H__ */
diff --git a/plugins/davcanyondelay.hh b/plugins/davcanyondelay.hh
index 1686838..64dc85d 100644
--- a/plugins/davcanyondelay.hh
+++ b/plugins/davcanyondelay.hh
@@ -3,8 +3,6 @@
#define __DAV_CANYON_DELAY_H__
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-G_BEGIN_DECLS
-
#define DAV_TYPE_CANYON_DELAY (dav_canyon_delay_get_type())
#define DAV_CANYON_DELAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), DAV_TYPE_CANYON_DELAY,
DavCanyonDelay))
#define DAV_CANYON_DELAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), DAV_TYPE_CANYON_DELAY,
DavCanyonDelayClass))
@@ -57,6 +55,4 @@ enum
-G_END_DECLS
-
#endif /* __DAV_CANYON_DELAY_H__ */
diff --git a/plugins/davguitar.hh b/plugins/davguitar.hh
index a185e8b..8ea17ea 100644
--- a/plugins/davguitar.hh
+++ b/plugins/davguitar.hh
@@ -5,10 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/* --- object type macros --- */
#define DAV_TYPE_GUITAR (type_id_guitar)
#define DAV_GUITAR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), DAV_TYPE_GUITAR, DavGuitar))
@@ -42,7 +38,4 @@ enum
DAV_GUITAR_OCHANNEL_MONO
};
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
#endif /* __DAV_GUITAR_H__ */
diff --git a/plugins/davsyndrum.hh b/plugins/davsyndrum.hh
index 10935d9..7eadeb8 100644
--- a/plugins/davsyndrum.hh
+++ b/plugins/davsyndrum.hh
@@ -5,8 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-G_BEGIN_DECLS
-
/* --- object type macros --- */
#define DAV_TYPE_SYN_DRUM (dav_syn_drum_get_type())
@@ -52,6 +50,4 @@ enum
DAV_SYN_DRUM_N_OCHANNELS
};
-G_END_DECLS
-
#endif /* __DAV_SYNDRUM_H__ */
diff --git a/plugins/davxtalstrings.hh b/plugins/davxtalstrings.hh
index dcc30e2..1106994 100644
--- a/plugins/davxtalstrings.hh
+++ b/plugins/davxtalstrings.hh
@@ -3,10 +3,6 @@
#define __DAV_XTAL_STRINGS_H__
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#define DAV_TYPE_XTAL_STRINGS (dav_xtal_strings_get_type())
#define DAV_XTAL_STRINGS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), DAV_TYPE_XTAL_STRINGS,
DavXtalStrings))
#define DAV_XTAL_STRINGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), DAV_TYPE_XTAL_STRINGS,
DavXtalStringsClass))
@@ -47,8 +43,4 @@ enum
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* __DAV_XTAL_STRINGS_H__ */
diff --git a/plugins/freeverb/bsefreeverb.hh b/plugins/freeverb/bsefreeverb.hh
index 108ee83..63a7774 100644
--- a/plugins/freeverb/bsefreeverb.hh
+++ b/plugins/freeverb/bsefreeverb.hh
@@ -5,8 +5,6 @@
#include <bse/bseplugin.hh>
#include <bse/bsesource.hh>
#include "bsefreeverbcpp.hh"
-G_BEGIN_DECLS
-
#define BSE_TYPE_FREE_VERB (bse_free_verb_get_type())
#define BSE_FREE_VERB(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_FREE_VERB,
BseFreeVerb))
#define BSE_FREE_VERB_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_FREE_VERB,
BseFreeVerbClass))
@@ -35,6 +33,4 @@ enum /*< skip >*/
};
-G_END_DECLS
-
#endif /* __BSE_FREE_VERB_H__ */
diff --git a/plugins/freeverb/bsefreeverbcpp.cpp b/plugins/freeverb/bsefreeverbcpp.cpp
index e9e06ac..47e6d19 100644
--- a/plugins/freeverb/bsefreeverbcpp.cpp
+++ b/plugins/freeverb/bsefreeverbcpp.cpp
@@ -4,8 +4,6 @@
#include "revmodel.hpp"
-G_BEGIN_DECLS
-
/* --- functions --- */
void
bse_free_verb_cpp_create (BseFreeVerbCpp *cpp)
@@ -86,5 +84,3 @@ bse_free_verb_cpp_restore_config (BseFreeVerbCpp *cpp,
{
*config = cpp->saved_config;
}
-
-G_END_DECLS
diff --git a/plugins/freeverb/bsefreeverbcpp.hh b/plugins/freeverb/bsefreeverbcpp.hh
index 8204693..366f537 100644
--- a/plugins/freeverb/bsefreeverbcpp.hh
+++ b/plugins/freeverb/bsefreeverbcpp.hh
@@ -4,8 +4,6 @@
#include <glib.h>
-G_BEGIN_DECLS
-
typedef struct
{
/* runtime parameters */
@@ -49,7 +47,5 @@ void bse_free_verb_cpp_restore_config (BseFreeVerbCpp *cpp,
BseFreeVerbConfig *config);
-G_END_DECLS
-
#endif /* __BSE_FREE_VERB_CPP_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]