diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-16 08:58:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-16 08:58:17 +0100 |
commit | 3b425b8bf0c58e25da576ed86496171ea19240f9 (patch) | |
tree | 37d6feb715dd929392fb16fdde6cf994dfbc1397 /include/fitz/object.h | |
parent | 49132f70ac40b2dc7b9a0e22b33a3964af687874 (diff) | |
download | mupdf-3b425b8bf0c58e25da576ed86496171ea19240f9.tar.xz |
removed c99-isms. improved bbox handling.
Diffstat (limited to 'include/fitz/object.h')
-rw-r--r-- | include/fitz/object.h | 12 |
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; |