summaryrefslogtreecommitdiffstats
path: root/jv.h
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2013-05-05 23:28:11 -0500
committerNicolas Williams <nico@cryptonector.com>2013-05-07 18:46:13 -0500
commitfb3c124af11a378e25ffd3bb5c806a14636ce35b (patch)
tree03f8eeb7bd3547eb5fce5b7c98d6c5dbf0f0296a /jv.h
parent46814da91a9fef4fefd104b34cd7d6376deef033 (diff)
Rename complex to nontrivial for safety (#113)
Diffstat (limited to 'jv.h')
-rw-r--r--jv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jv.h b/jv.h
index c3bff367..a64f3acc 100644
--- a/jv.h
+++ b/jv.h
@@ -25,13 +25,13 @@ typedef struct {
typedef struct{
jv_refcnt* ptr;
int i[2];
-} jv_complex;
+} jv_nontrivial;
typedef struct {
jv_kind kind;
union {
double number;
- jv_complex complex;
+ jv_nontrivial nontrivial;
} val;
} jv;