summaryrefslogtreecommitdiff
path: root/README.EXT_SKEL
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-02 05:49:24 +0000
committerZeev Suraski <zeev@php.net>2001-08-02 05:49:24 +0000
commit5dfe1deb96b3ce8de6227ac84805370006034999 (patch)
treec8f9ae67974866a03a9dced12312f077a6425b38 /README.EXT_SKEL
parent8cf4e4a725da55993de5cfff41278df1ce7a3a10 (diff)
downloadphp-git-5dfe1deb96b3ce8de6227ac84805370006034999.tar.gz
We no longer need any FETCH's for internal functions
Diffstat (limited to 'README.EXT_SKEL')
-rw-r--r--README.EXT_SKEL5
1 files changed, 2 insertions, 3 deletions
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: