summaryrefslogtreecommitdiff
path: root/Zend/zend_modules.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-07-01 18:36:43 +0200
committerAnatol Belski <ab@php.net>2017-07-01 18:36:43 +0200
commitc71b773a626d2895983bda0b5eed137c79b3c93a (patch)
treec3a7af2453fde784aea24ecfd96944b76e2bc04a /Zend/zend_modules.h
parente3cc15daf2abc1b4886d4888c3bf5ca9cef035c8 (diff)
downloadphp-git-c71b773a626d2895983bda0b5eed137c79b3c93a.tar.gz
fix C++ compat
Diffstat (limited to 'Zend/zend_modules.h')
-rw-r--r--Zend/zend_modules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h
index 40ad9ca64c..4e3eeed686 100644
--- a/Zend/zend_modules.h
+++ b/Zend/zend_modules.h
@@ -122,11 +122,13 @@ struct _zend_module_dep {
unsigned char type; /* dependency type */
};
+BEGIN_EXTERN_C()
extern ZEND_API HashTable module_registry;
void module_destructor(zend_module_entry *module);
int module_registry_request_startup(zend_module_entry *module);
int module_registry_unload_temp(const zend_module_entry *module);
+END_EXTERN_C()
#endif