summaryrefslogtreecommitdiff
path: root/include/fitz/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fitz/object.h')
-rw-r--r--include/fitz/object.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/fitz/object.h b/include/fitz/object.h
index 41025b8b..777e889f 100644
--- a/include/fitz/object.h
+++ b/include/fitz/object.h
@@ -1,8 +1,6 @@
typedef struct fz_obj_s fz_obj;
-typedef enum fz_objkind_e fz_objkind;
-
-enum fz_objkind_e
+typedef enum fz_objkind_e
{
FZ_NULL,
FZ_BOOL,
@@ -13,8 +11,8 @@ enum fz_objkind_e
FZ_ARRAY,
FZ_DICT,
FZ_INDIRECT,
- FZ_POINTER,
-};
+ FZ_POINTER
+} fz_objkind;
struct fz_keyval_s
{
@@ -33,9 +31,9 @@ struct fz_obj_s
float f;
struct {
unsigned short len;
- unsigned char buf[];
+ char buf[1];
} s;
- unsigned char n[1];
+ char n[1];
struct {
int len;
int cap;