cvs: gd /libgd/src gd_io.h

From: Date: Fri, 21 Dec 2007 22:05:26 +0000
Subject: cvs: gd /libgd/src gd_io.h
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-373@lists.php.net to get a copy of this message
mattias Fri Dec 21 22:05:26 2007 UTC Modified files: /gd/libgd/src gd_io.h Log: - ws + cs http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_io.h?r1=1.9&r2=1.10&diff_format=u Index: gd/libgd/src/gd_io.h diff -u gd/libgd/src/gd_io.h:1.9 gd/libgd/src/gd_io.h:1.10 --- gd/libgd/src/gd_io.h:1.9 Tue Oct 9 11:13:56 2007 +++ gd/libgd/src/gd_io.h Fri Dec 21 22:05:26 2007 @@ -8,47 +8,42 @@ #include <stdio.h> #ifdef VMS -#define Putchar gdPutchar +# define Putchar gdPutchar #endif typedef struct gdIOCtx { - int (*getC) (struct gdIOCtx *); - int (*getBuf) (struct gdIOCtx *, void *, int); - - void (*putC) (struct gdIOCtx *, int); - int (*putBuf) (struct gdIOCtx *, const void *, 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 *); - + int (*getC)(struct gdIOCtx *); + int (*getBuf)(struct gdIOCtx *, void *, int); + void (*putC)(struct gdIOCtx *, int); + int (*putBuf)(struct gdIOCtx *, const void *, 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 *); } gdIOCtx; typedef struct gdIOCtx *gdIOCtxPtr; -void Putword (int w, gdIOCtx * ctx); -void Putchar (int c, gdIOCtx * ctx); +void Putword(int w, gdIOCtx *ctx); +void Putchar(int c, gdIOCtx *ctx); - void gdPutC (const unsigned char c, gdIOCtx * ctx); - int gdPutBuf (const void *, int, gdIOCtx *); - void gdPutWord (int w, gdIOCtx * ctx); - void gdPutInt (int w, gdIOCtx * ctx); - - int gdGetC (gdIOCtx * ctx); - int gdGetBuf (void *, int, gdIOCtx *); - int gdGetByte (int *result, gdIOCtx * ctx); - int gdGetWord (int *result, gdIOCtx * ctx); - int gdGetWordLSB (int *result, gdIOCtx * ctx); - int gdGetInt (int *result, gdIOCtx * ctx); - int gdGetIntLSB (int *result, gdIOCtx * ctx); +void gdPutC(const unsigned char c, gdIOCtx *ctx); +int gdPutBuf(const void *, int, gdIOCtx *); +void gdPutWord(int w, gdIOCtx *ctx); +void gdPutInt(int w, gdIOCtx *ctx); + +int gdGetC(gdIOCtx *ctx); +int gdGetBuf(void *, int, gdIOCtx *); +int gdGetByte(int *result, gdIOCtx *ctx); +int gdGetWord(int *result, gdIOCtx *ctx); +int gdGetWordLSB(int *result, gdIOCtx *ctx); +int gdGetInt(int *result, gdIOCtx *ctx); +int gdGetIntLSB(int *result, gdIOCtx *ctx); - int gdSeek (gdIOCtx * ctx, const int offset); - long gdTell (gdIOCtx * ctx); +int gdSeek(gdIOCtx *ctx, const int offset); +long gdTell(gdIOCtx *ctx); #endif

« previous php.gd.cvs (#373) next »