[beast: 5/15] DRIVERS: remove 'extern "C"' from all API



commit d3c983f3b37b80ed9bb141d3dfb57c5292559cb0
Author: Tim Janik <timj gnu org>
Date:   Wed Oct 26 22:30:58 2016 +0200

    DRIVERS: remove 'extern "C"' from all API
    
    Signed-off-by: Tim Janik <timj gnu org>

 drivers/bse-portaudio/bsepcmdevice-portaudio.hh |    4 ----
 drivers/bsemididevice-alsa.hh                   |    4 ----
 drivers/bsepcmdevice-alsa.hh                    |    4 ----
 3 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/drivers/bse-portaudio/bsepcmdevice-portaudio.hh b/drivers/bse-portaudio/bsepcmdevice-portaudio.hh
index dd20f06..afe7c85 100644
--- a/drivers/bse-portaudio/bsepcmdevice-portaudio.hh
+++ b/drivers/bse-portaudio/bsepcmdevice-portaudio.hh
@@ -3,8 +3,6 @@
 #define __BSE_PCM_DEVICE_PORTAUDIO_H__
 #include <bse/bsepcmdevice.hh>
 #include <bse/bseplugin.hh>
-G_BEGIN_DECLS
-
 #define BSE_TYPE_PCM_DEVICE_PORT_AUDIO              (BSE_EXPORT_TYPE_ID (BsePcmDevicePortAudio))
 #define BSE_PCM_DEVICE_PORT_AUDIO(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), 
BSE_TYPE_PCM_DEVICE_PORT_AUDIO, BsePcmDevicePortAudio))
 #define BSE_PCM_DEVICE_PORT_AUDIO_CLASS(class)      (G_TYPE_CHECK_CLASS_CAST ((class), 
BSE_TYPE_PCM_DEVICE_PORT_AUDIO, BsePcmDevicePortAudioClass))
@@ -18,6 +16,4 @@ struct BsePcmDevicePortAudio : BsePcmDevice
 struct BsePcmDevicePortAudioClass : BsePcmDeviceClass
 {};
 
-G_END_DECLS
-
 #endif /* __BSE_PCM_DEVICE_PORTAUDIO_H__ */
diff --git a/drivers/bsemididevice-alsa.hh b/drivers/bsemididevice-alsa.hh
index 32e91df..231fd55 100644
--- a/drivers/bsemididevice-alsa.hh
+++ b/drivers/bsemididevice-alsa.hh
@@ -3,8 +3,6 @@
 #define __BSE_MIDI_DEVICE_ALSA_H__
 #include <bse/bsemididevice.hh>
 #include <bse/bseplugin.hh>
-G_BEGIN_DECLS
-
 #define BSE_TYPE_MIDI_DEVICE_ALSA              (bse_midi_device_alsa_get_type())
 #define BSE_MIDI_DEVICE_ALSA(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), 
BSE_TYPE_MIDI_DEVICE_ALSA, BseMidiDeviceALSA))
 #define BSE_MIDI_DEVICE_ALSA_CLASS(class)      (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIDI_DEVICE_ALSA, 
BseMidiDeviceALSAClass))
@@ -17,6 +15,4 @@ struct BseMidiDeviceALSA : BseMidiDevice
 struct BseMidiDeviceALSAClass : BseMidiDeviceClass
 {};
 
-G_END_DECLS
-
 #endif /* __BSE_MIDI_DEVICE_ALSA_H__ */
diff --git a/drivers/bsepcmdevice-alsa.hh b/drivers/bsepcmdevice-alsa.hh
index 93591c1..720639d 100644
--- a/drivers/bsepcmdevice-alsa.hh
+++ b/drivers/bsepcmdevice-alsa.hh
@@ -3,8 +3,6 @@
 #define __BSE_PCM_DEVICE_ALSA_H__
 #include <bse/bsepcmdevice.hh>
 #include <bse/bseplugin.hh>
-G_BEGIN_DECLS
-
 #define BSE_TYPE_PCM_DEVICE_ALSA              (bse_pcm_device_alsa_get_type())
 #define BSE_PCM_DEVICE_ALSA(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), 
BSE_TYPE_PCM_DEVICE_ALSA, BsePcmDeviceALSA))
 #define BSE_PCM_DEVICE_ALSA_CLASS(class)      (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_PCM_DEVICE_ALSA, 
BsePcmDeviceALSAClass))
@@ -17,6 +15,4 @@ struct BsePcmDeviceALSA : BsePcmDevice
 struct BsePcmDeviceALSAClass : BsePcmDeviceClass
 {};
 
-G_END_DECLS
-
 #endif /* __BSE_PCM_DEVICE_ALSA_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]