com php-src: It should be in extern c: Zend/zend_hash.h
| From: | Xinchen Hui | Date: | Fri, 03 Oct 2014 10:35:57 +0000 |
| Subject: | com php-src: It should be in extern c: Zend/zend_hash.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82067@lists.php.net to get a copy of this message | ||
Commit: aa5f937958fcc0ea95a80e455ff176449c3094dc
Author: Xinchen Hui <laruence@php.net> Fri, 3 Oct 2014 18:35:47 +0800
Parents: f54f5368e40d56322d5eb7d30e58adbc0dcc87ee
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aa5f937958fcc0ea95a80e455ff176449c3094dc
Log:
It should be in extern c
Changed paths:
M Zend/zend_hash.h
Diff:
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index 5c27873..97b89e9 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -221,6 +221,8 @@ void zend_hash_display_pListTail(const HashTable *ht);
void zend_hash_display(const HashTable *ht);
#endif
+ZEND_API int _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
+
END_EXTERN_C()
#define ZEND_INIT_SYMTABLE(ht) \
@@ -229,8 +231,6 @@ END_EXTERN_C()
#define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \
zend_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
-ZEND_API int _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
-
static zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong
*idx)
{
register const char *tmp = key;