diff options
Diffstat (limited to '')
| -rw-r--r-- | zahl-internals.h | 10 | ||||
| -rw-r--r-- | zahl.h | 11 |
2 files changed, 11 insertions, 10 deletions
diff --git a/zahl-internals.h b/zahl-internals.h index 9ac29b2..9d6df24 100644 --- a/zahl-internals.h +++ b/zahl-internals.h @@ -62,3 +62,13 @@ typedef uint64_t zahl_char_t; + +struct zahl { + int sign; +#if INT_MAX != LONG_MAX + int padding__; +#endif + size_t used; + size_t alloced; + zahl_char_t *chars; +}; @@ -16,16 +16,7 @@ -/* This structure should be considered opaque. */ -typedef struct { - int sign; -#if INT_MAX != LONG_MAX - int padding__; -#endif - size_t used; - size_t alloced; - zahl_char_t *chars; -} z_t[1]; +typedef struct zahl z_t[1]; |
