[beast] BSE: compile bsemididevice-null as C++ source
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BSE: compile bsemididevice-null as C++ source
- Date: Fri, 5 Aug 2011 18:49:36 +0000 (UTC)
commit ca4f203257f43ffaabce7b2b9b4baf66833f9a0d
Author: Stefan Westerfeld <stefan space twc de>
Date: Fri Aug 5 19:07:41 2011 +0200
BSE: compile bsemididevice-null as C++ source
bse/Makefile.am | 2 +-
...{bsemididevice-null.c => bsemididevice-null.cc} | 10 +++++-----
po/POTSCAN | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/bse/Makefile.am b/bse/Makefile.am
index 6bec18a..966774c 100644
--- a/bse/Makefile.am
+++ b/bse/Makefile.am
@@ -74,7 +74,7 @@ bse_sources = $(strip \
bseglobals.cc bseglue.cc bseitem.cc bsejanitor.cc \
bsemain.cc bsemath.cc bsemathsignal.cc bseladspa.cc \
bsemidicontroller.cc bsemididevice.cc bsedevice.cc \
- bsemididevice-null.c bsemididevice-oss.c bsemidievent.c bsemidinotifier.c \
+ bsemididevice-null.cc bsemididevice-oss.c bsemidievent.c bsemidinotifier.c \
bsemidireceiver.cc bsemidisynth.c bseobject.c bsepart.c \
bsepcminput.c bsepcmoutput.c bseparam.c bseparasite.c \
bsepcmdevice.c bsepcmdevice-oss.c bsepcmdevice-null.c bseplugin.c \
diff --git a/bse/bsemididevice-null.c b/bse/bsemididevice-null.cc
similarity index 93%
rename from bse/bsemididevice-null.c
rename to bse/bsemididevice-null.cc
index 3c8567f..72573ef 100644
--- a/bse/bsemididevice-null.c
+++ b/bse/bsemididevice-null.cc
@@ -46,8 +46,8 @@ static BseErrorType
bse_midi_device_null_open (BseDevice *device,
gboolean require_readable,
gboolean require_writable,
- guint n_args,
- const gchar **args)
+ uint n_args,
+ const char **args)
{
NULLHandle *null = g_new0 (NULLHandle, 1);
BseMidiHandle *handle = &null->handle;
@@ -76,12 +76,12 @@ bse_midi_device_null_close (BseDevice *device)
}
static void
-bse_midi_device_null_class_init (BseMidiDeviceNULLClass *class)
+bse_midi_device_null_class_init (BseMidiDeviceNULLClass *klass)
{
- BseDeviceClass *device_class = BSE_DEVICE_CLASS (class);
+ BseDeviceClass *device_class = BSE_DEVICE_CLASS (klass);
device_class->list_devices = bse_midi_device_null_list_devices;
- bse_device_class_setup (class,
+ bse_device_class_setup (klass,
-1,
"null", NULL,
/* TRANSLATORS: keep this text to 70 chars in width */
diff --git a/po/POTSCAN b/po/POTSCAN
index fa38708..8e94165 100644
--- a/po/POTSCAN
+++ b/po/POTSCAN
@@ -78,7 +78,7 @@ bse/bsejanitor.cc
bse/bseladspamodule.cc
bse/bsemain.cc
bse/bsemidicontroller.cc
-bse/bsemididevice-null.c
+bse/bsemididevice-null.cc
bse/bsemididevice-oss.c
bse/bsemidiinput.c
bse/bsemidisynth.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]