com php-src: Fixed typo: Zend/zend.h
| From: | Xinchen Hui | Date: | Wed, 18 Jun 2014 07:11:46 +0000 |
| Subject: | com php-src: Fixed typo: Zend/zend.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78946@lists.php.net to get a copy of this message | ||
Commit: 2508d493d9e043afb31daf9eefb2238d16e7f0e1
Author: Xinchen Hui <laruence@php.net> Wed, 18 Jun 2014 15:11:46 +0800
Parents: 83d450c78de128da32048ef369d9769fa73be9da
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2508d493d9e043afb31daf9eefb2238d16e7f0e1
Log:
Fixed typo
Changed paths:
M Zend/zend.h
Diff:
diff --git a/Zend/zend.h b/Zend/zend.h
index 7ae85ad..f21ba92 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -318,13 +318,13 @@ void zend_error_noreturn(int type, const char *format, ...) __attribute__
((nore
#define Z_DELREF(z) Z_DELREF_P(&(z))
#define Z_TRY_ADDREF_P(pz) do { \
- if (Z_REFCOUNT_P((pz))) { \
+ if (Z_REFCOUNTED_P((pz))) { \
Z_ADDREF_P((pz)); \
} \
} while (0)
#define Z_TRY_DELREF_P(pz) do { \
- if (Z_REFCOUNT_P((pz))) { \
+ if (Z_REFCOUNTED_P((pz))) { \
Z_DELREF_P((pz)); \
} \
} while (0)