summaryrefslogtreecommitdiff
path: root/README.EXT_SKEL
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2001-08-02 05:36:50 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2001-08-02 05:36:50 (GMT)
commit8cf4e4a725da55993de5cfff41278df1ce7a3a10 (patch)
tree892f5a767f7bd31f9fcbca992ea43a9eb67994ea /README.EXT_SKEL
parent3aa5674a84891e3d599ff984bfdd3c8735823752 (diff)
downloadphp-8cf4e4a725da55993de5cfff41278df1ce7a3a10.tar.gz
TSRM fix for ext_skel - probably more needed
Diffstat (limited to 'README.EXT_SKEL')
-rw-r--r--README.EXT_SKEL6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.EXT_SKEL b/README.EXT_SKEL
index a887a85..79640f1 100644
--- a/README.EXT_SKEL
+++ b/README.EXT_SKEL
@@ -128,8 +128,8 @@ CURRENT LIMITATIONS, BUGS AND OTHER ODDITIES
It can't handle correctly, and probably never will, variable list of
of arguments. (void foo(int bar [, ...])
- Don't trust too much the generated code. It tries to be useful in most of
- the situations you might encounter, but automatic code generating will never
+ Don't trust the generated code too much. It tries to be useful in most of
+ the situations you might encounter, but automatic code generation will never
beat a programmer who knows the real situation at hand. ext_skel is generally
best suited for quickly generating a wrapper for c-library functions you
might want to have available in PHP too.
@@ -154,7 +154,7 @@ PHP_FUNCTION(my_drawtext)
int argc;
int image_id = -1;
int font_id = -1;
- ???LS_FETCH();
+ TSRMLS_FETCH();
argc = ZEND_NUM_ARGS();
if (argc < 5 || argc > 6 || zend_get_parameters_ex(argc, &image, &text, &font, &x, &y, &color) == FAILURE) {