Source

gd-libgd / src / gd_io.h

Diff from to

src/gd_io.h

   void (*putC) (struct gdIOCtx *, int);
   int (*putBuf) (struct gdIOCtx *, const void *, int);
 
-  int (*seek) (struct gdIOCtx *, const int);
+  /* seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */
+  int (*seek) (struct gdIOCtx *, const int); 
+
   long (*tell) (struct gdIOCtx *);
 
   void (*gd_free) (struct gdIOCtx *);