aboutsummaryrefslogtreecommitdiff
path: root/py/mpz.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-26 17:40:52 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-26 17:40:52 +0000
commit510477557d1cd13dc3cfdebf32338aa1b75180cb (patch)
tree3ea84ff43ecf5780cd357c1cd45bb3c51594d21f /py/mpz.h
parent98fb8935bc54085989cb271eb1a75fe2a6214c43 (diff)
py: Take out bitfield entries from their own structure.
Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it.
Diffstat (limited to 'py/mpz.h')
-rw-r--r--py/mpz.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/py/mpz.h b/py/mpz.h
index 4a0eba1c1..13a96fd79 100644
--- a/py/mpz.h
+++ b/py/mpz.h
@@ -3,10 +3,8 @@ typedef uint32_t mpz_dbl_dig_t;
typedef int32_t mpz_dbl_dig_signed_t;
typedef struct _mpz_t {
- struct {
- machine_uint_t neg : 1;
- machine_uint_t alloc : 31;
- };
+ machine_uint_t neg : 1;
+ machine_uint_t alloc : 31;
machine_uint_t len;
mpz_dig_t *dig;
} mpz_t;