Download src/php/php-src/ext/gd/libgd/gd_io.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/libgd/gd_io.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/gd/libgd/gd_io.h
-
curl -L -o gd_io.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/libgd/gd_io.h
1.07 kB
| 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); | |
| int (*seek)(struct gdIOCtx*, const int); | |
| long (*tell)(struct gdIOCtx*); | |
| void (*gd_free)(struct gdIOCtx*); | |
| void *data; | |
| } gdIOCtx; | |
| typedef struct gdIOCtx *gdIOCtxPtr; | |
| 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(signed short int *result, gdIOCtx *ctx); | |
| int gdGetInt(int *result, gdIOCtx *ctx); | |
| int gdGetIntLSB(signed int *result, gdIOCtx *ctx); | |
| int gdSeek(gdIOCtx *ctx, const int); | |
| long gdTell(gdIOCtx *ctx); | |