diff options
| author | Johannes Schlüter <johannes@php.net> | 2007-09-28 22:04:47 +0000 |
|---|---|---|
| committer | Johannes Schlüter <johannes@php.net> | 2007-09-28 22:04:47 +0000 |
| commit | 11d5f9c7c43a642fe510b9fe972619cc4192ce1a (patch) | |
| tree | c3d8fa22838512cde23750dd7ab51fd4a14483e0 /README.PARAMETER_PARSING_API | |
| parent | 3447b2633444f309dfbc8a60ed5a4352ad1a6c9d (diff) | |
| download | php-git-11d5f9c7c43a642fe510b9fe972619cc4192ce1a.tar.gz | |
- MFH: Fix type in example
Diffstat (limited to 'README.PARAMETER_PARSING_API')
| -rw-r--r-- | README.PARAMETER_PARSING_API | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API index fef6da4bf4..052489d242 100644 --- a/README.PARAMETER_PARSING_API +++ b/README.PARAMETER_PARSING_API @@ -70,7 +70,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsz", /* Gets an object of class specified by my_ce, and an optional double. */ zval *obj; double d = 0.5; -zend_class_entry my_ce; +zend_class_entry *my_ce; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d", &obj, my_ce, &d) == FAILURE) { return; |
