From 5dfe1deb96b3ce8de6227ac84805370006034999 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Thu, 2 Aug 2001 05:49:24 +0000 Subject: We no longer need any FETCH's for internal functions --- README.EXT_SKEL | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README.EXT_SKEL') diff --git a/README.EXT_SKEL b/README.EXT_SKEL index 79640f1560..dae5b40098 100644 --- a/README.EXT_SKEL +++ b/README.EXT_SKEL @@ -154,15 +154,14 @@ PHP_FUNCTION(my_drawtext) int argc; int image_id = -1; int font_id = -1; - TSRMLS_FETCH(); argc = ZEND_NUM_ARGS(); if (argc < 5 || argc > 6 || zend_get_parameters_ex(argc, &image, &text, &font, &x, &y, &color) == FAILURE) { WRONG_PARAM_COUNT; } - ZEND_FETCH_RESOURCE(???, ???, image, image_id, "???", ???G()); - ZEND_FETCH_RESOURCE(???, ???, font, font_id, "???", ???G()); + ZEND_FETCH_RESOURCE(???, ???, image, image_id, "???", ???_rsrc_id); + ZEND_FETCH_RESOURCE(???, ???, font, font_id, "???", ???_rsrc_id); switch (argc) { case 6: -- cgit v1.2.1