diff options
author | Pierre Joye <pierre.php@gmail.com> | 2013-04-11 06:26:40 +0200 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2013-04-11 06:26:40 +0200 |
commit | 945f8cfc6abd4a18097b2db6c6f78d234ce9d31f (patch) | |
tree | 666eb2610e195b846e7675ac3fa43c8a8a1babf2 /src/gd_io.h | |
parent | e9e6c31509d7fd90be5690c56d174ef9625b687b (diff) | |
download | libgd-945f8cfc6abd4a18097b2db6c6f78d234ce9d31f.tar.gz |
add custom data for callers in gd_io, allows to attach php's stream f.e.
Diffstat (limited to 'src/gd_io.h')
-rw-r--r-- | src/gd_io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gd_io.h b/src/gd_io.h index 72d5ca5..ed02d25 100644 --- a/src/gd_io.h +++ b/src/gd_io.h @@ -20,6 +20,7 @@ extern "C" { int (*seek)(struct gdIOCtx *, const int); long (*tell)(struct gdIOCtx *); void (*gd_free)(struct gdIOCtx *); + void *data; } gdIOCtx; |