cvs: php4 /ext/gd gd_ctx.c
| From: | Sterling Hughes | Date: | Fri, 18 May 2001 20:32:47 +0000 |
| Subject: | cvs: php4 /ext/gd gd_ctx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5823@lists.php.net to get a copy of this message | ||
sterling Fri May 18 13:32:47 2001 EDT
Modified files:
/php4/ext/gd gd_ctx.c
Log:
should be using the function here.
Index: php4/ext/gd/gd_ctx.c
diff -u php4/ext/gd/gd_ctx.c:1.6 php4/ext/gd/gd_ctx.c:1.7
--- php4/ext/gd/gd_ctx.c:1.6 Fri May 18 13:29:47 2001
+++ php4/ext/gd/gd_ctx.c Fri May 18 13:32:47 2001
@@ -1,3 +1,6 @@
+#include "php_gd.h"
+
+
#define CTX_PUTC(c,ctx) ctx->putC(ctx, c)
static void _php_image_output_putc(struct gdIOCtx *ctx, int c)
@@ -34,7 +37,7 @@
WRONG_PARAM_COUNT;
}
- ZEND_FETCH_RESOURCE(im, gdImagePtr, imgind, -1, "Image", le_gd);
+ ZEND_FETCH_RESOURCE(im, gdImagePtr, imgind, -1, "Image", phpi_get_le_gd());
if (argc > 1) {
convert_to_string_ex(file);