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