diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-04 07:25:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-04 07:25:46 +0100 |
commit | c255615c490cef9718f650610ba6d082b320e0bb (patch) | |
tree | abe98a89f98c5e12818b02ebde769438e409feec /tests/t-parse.c | |
parent | c64fd9ffacb8463affc3c02eeebaee11a4028373 (diff) | |
download | mupdf-c255615c490cef9718f650610ba6d082b320e0bb.tar.xz |
removed obsolete files
Diffstat (limited to 'tests/t-parse.c')
-rw-r--r-- | tests/t-parse.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/t-parse.c b/tests/t-parse.c deleted file mode 100644 index fabd2060..00000000 --- a/tests/t-parse.c +++ /dev/null @@ -1,44 +0,0 @@ -#include <fitz.h> - -int -main(int argc, char **argv) -{ - fz_error *err; - fz_obj *obj; - int i; - - if (argc == 1) - { - err = fz_packobj(&obj, - "[ %s %r [ %i ] " - "<< /Float %f /BinString %# /Name %n /Int %i >> " - "(foo) /bar 3223 [ [ 1 2 3 %i ] %i [ 23 ] %i ]", - "Hello, world", - 3, 0, - 42, - 23.5, - "f\0obar", 4, - "Foo", - 666, - -1, -2 , -3 - ); - if (err) fz_abort(err); - - printf("pretty: "); fz_fprintobj(stdout, obj); printf("\n"); - printf("comapct: "); fz_fprintcobj(stdout, obj); printf("\n"); - fz_dropobj(obj); - printf("\n"); - } - - for (i = 1; i < argc; i++) { - err = fz_parseobj(&obj, argv[i]); - if (err) fz_abort(err); - printf("pretty: "); fz_fprintobj(stdout, obj); printf("\n"); - printf("compact: "); fz_fprintcobj(stdout, obj); printf("\n"); - fz_dropobj(obj); - printf("\n"); - } - - return 0; -} - |