[beast/devel: 4/35] BSE: define GslLong as "long long int", to match its common use
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 4/35] BSE: define GslLong as "long long int", to match its common use
- Date: Tue, 14 May 2013 19:38:15 +0000 (UTC)
commit 49d327de9f75e9e1a08a43526467c67b0ec910cb
Author: Tim Janik <timj gnu org>
Date: Sun May 12 04:32:13 2013 +0200
BSE: define GslLong as "long long int", to match its common use
bse/gsldefs.hh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bse/gsldefs.hh b/bse/gsldefs.hh
index 5046b52..a6c3439 100644
--- a/bse/gsldefs.hh
+++ b/bse/gsldefs.hh
@@ -22,7 +22,8 @@ typedef struct _GslWaveChunkBlock GslWaveChunkBlock;
* code that uses GslLong has been ported to use int64 (as defined in
* sfitypes.h).
*/
-typedef int64 GslLong;
+typedef long long int GslLong;
+static_assert (sizeof (GslLong) == 8, "GslLong");
#define GSL_MAXLONG G_MAXINT64;
#define GSL_MINLONG G_MININT64;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]