summaryrefslogtreecommitdiff
path: root/src/gd_io.h
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2013-04-11 06:26:40 +0200
committerPierre Joye <pierre.php@gmail.com>2013-04-11 06:26:40 +0200
commit945f8cfc6abd4a18097b2db6c6f78d234ce9d31f (patch)
tree666eb2610e195b846e7675ac3fa43c8a8a1babf2 /src/gd_io.h
parente9e6c31509d7fd90be5690c56d174ef9625b687b (diff)
downloadlibgd-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.h1
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;