[beast: 3/18] BSE: fix prototype ordering in BSE_DUMMY_TYPE
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 3/18] BSE: fix prototype ordering in BSE_DUMMY_TYPE
- Date: Mon, 5 Oct 2015 22:49:40 +0000 (UTC)
commit 2428c3b3b2fb22b1f0909b3012bd657c8edbd710
Author: Tim Janik <timj gnu org>
Date: Thu Sep 24 20:02:56 2015 +0200
BSE: fix prototype ordering in BSE_DUMMY_TYPE
bse/bsetype.hh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bse/bsetype.hh b/bse/bsetype.hh
index 9627ffc..1ea3570 100644
--- a/bse/bsetype.hh
+++ b/bse/bsetype.hh
@@ -70,8 +70,8 @@ void bse_type_uninit_boxed (BseExportNodeBoxed *bnode);
#ifdef BSE_COMPILATION
# define BSE_BUILTIN_PROTO(BseTypeName) GType bse_type_builtin_register_##BseTypeName (void)
# define BSE_BUILTIN_TYPE(BseTypeName) EXTERN_C BSE_BUILTIN_PROTO (BseTypeName); EXTERN_C
BSE_BUILTIN_PROTO (BseTypeName)
-# define BSE_DUMMY_TYPE(BseTypeName) EXTERN_C BSE_BUILTIN_PROTO (BseTypeName) { return 0; } \
- EXTERN_C BSE_BUILTIN_PROTO (BseTypeName)
+# define BSE_DUMMY_TYPE(BseTypeName) EXTERN_C BSE_BUILTIN_PROTO (BseTypeName); \
+ EXTERN_C BSE_BUILTIN_PROTO (BseTypeName) { return 0; }
#endif /* BSE_COMPILATION */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]