[beast] BSE: compile bsecsynth as C++ source
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BSE: compile bsecsynth as C++ source
- Date: Tue, 26 Jul 2011 02:14:59 +0000 (UTC)
commit 1443a90453166e896f93cea2502c463a938b57f0
Author: Stefan Westerfeld <stefan space twc de>
Date: Mon Jul 11 13:24:43 2011 +0200
BSE: compile bsecsynth as C++ source
bse/Makefile.am | 2 +-
bse/{bsecsynth.c => bsecsynth.cc} | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/bse/Makefile.am b/bse/Makefile.am
index 8aa7b44..ac7e14f 100644
--- a/bse/Makefile.am
+++ b/bse/Makefile.am
@@ -84,7 +84,7 @@ bse_sources = $(strip \
bseinstrumentoutput.c bsesubiport.c bseinstrumentinput.c bsesuboport.c \
bsesubsynth.c bsesuper.c bsetrack.c bsetype.c \
bseutils.c bsemidivoice.c bsewave.c bsewaveosc.c \
- bsecsynth.c bsewaverepo.c bseladspamodule.c bsepcmwriter.c \
+ bsecsynth.cc bsewaverepo.c bseladspamodule.c bsepcmwriter.c \
bsecompat.cc bseundostack.c bsemidiinput.c bsemididecoder.c \
bsenote.cc bsemidifile.c bseblockutils.cc \
bsecxxvalue.cc bsecxxutils.cc bsecxxbase.cc bsecxxclosure.cc \
diff --git a/bse/bsecsynth.c b/bse/bsecsynth.cc
similarity index 85%
rename from bse/bsecsynth.c
rename to bse/bsecsynth.cc
index 9c6b53b..9d79bc7 100644
--- a/bse/bsecsynth.c
+++ b/bse/bsecsynth.cc
@@ -25,15 +25,15 @@ enum
/* --- prototypes --- */
-static void bse_csynth_class_init (BseCSynthClass *class);
+static void bse_csynth_class_init (BseCSynthClass *klass);
static void bse_csynth_init (BseCSynth *self);
static void bse_csynth_finalize (GObject *object);
static void bse_csynth_set_property (GObject *object,
- guint param_id,
+ unsigned int param_id,
const GValue *value,
GParamSpec *pspec);
static void bse_csynth_get_property (GObject *object,
- guint param_id,
+ unsigned int param_id,
GValue *value,
GParamSpec *pspec);
@@ -60,11 +60,11 @@ BSE_BUILTIN_TYPE (BseCSynth)
}
static void
-bse_csynth_class_init (BseCSynthClass *class)
+bse_csynth_class_init (BseCSynthClass *klass)
{
- GObjectClass *gobject_class = G_OBJECT_CLASS (class);
+ GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
- parent_class = g_type_class_peek_parent (class);
+ parent_class = (GTypeClass*) g_type_class_peek_parent (klass);
gobject_class->set_property = bse_csynth_set_property;
gobject_class->get_property = bse_csynth_get_property;
@@ -88,7 +88,7 @@ bse_csynth_finalize (GObject *object)
static void
bse_csynth_set_property (GObject *object,
- guint param_id,
+ unsigned int param_id,
const GValue *value,
GParamSpec *pspec)
{
@@ -103,10 +103,10 @@ bse_csynth_set_property (GObject *object,
}
static void
-bse_csynth_get_property (GObject *object,
- guint param_id,
- GValue *value,
- GParamSpec *pspec)
+bse_csynth_get_property (GObject *object,
+ unsigned int param_id,
+ GValue *value,
+ GParamSpec *pspec)
{
BseCSynth *self = BSE_CSYNTH (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]