summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-10-03 18:35:47 +0800
committerXinchen Hui <laruence@php.net>2014-10-03 18:35:57 +0800
commitaa5f937958fcc0ea95a80e455ff176449c3094dc (patch)
treecb338ecd8acc1e753c942675710aafee8e13fb5d
parentf54f5368e40d56322d5eb7d30e58adbc0dcc87ee (diff)
downloadphp-git-aa5f937958fcc0ea95a80e455ff176449c3094dc.tar.gz
It should be in extern c
-rw-r--r--Zend/zend_hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index 5c27873aa1..97b89e926c 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;