1.1 diff -r 0fc65859d436 -r abb03c7f4aab pdf_prim.h 1.2 --- a/pdf_prim.h Fri Mar 07 11:02:12 2003 +0000 1.3 +++ b/pdf_prim.h Fri Mar 07 11:02:31 2003 +0000 1.4 @@ -4,7 +4,7 @@ 1.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.6 * 1.7 * PDF routines 1.8 - * $Id: pdf_prim.h,v 1.5 2003/03/04 17:58:36 eric Exp $ 1.9 + * $Id: pdf_prim.h,v 1.6 2003/03/07 03:02:31 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -88,6 +88,10 @@ 1.14 void pdf_set_real (struct pdf_obj *obj, double val); 1.15 1.16 1.17 +/* returns -1 if o1 < 02, 0 if o1 == o2, 1 if o1 > o2 */ 1.18 +int pdf_compare_obj (struct pdf_obj *o1, struct pdf_obj *o2); 1.19 + 1.20 + 1.21 /* The callback will be called when the stream data is to be written to the 1.22 file. app_data will be passed as an argument to the callback. */ 1.23 struct pdf_obj *pdf_new_stream (pdf_file_handle pdf_file,