com php-src: fix C++ compat: Zend/zend_modules.h
| From: | Anatol Belski | Date: | Sat, 01 Jul 2017 16:36:43 +0000 |
| Subject: | com php-src: fix C++ compat: Zend/zend_modules.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98298@lists.php.net to get a copy of this message | ||
Commit: c71b773a626d2895983bda0b5eed137c79b3c93a
Author: Anatol Belski <ab@php.net> Sat, 1 Jul 2017 18:36:43 +0200
Parents: e3cc15daf2abc1b4886d4888c3bf5ca9cef035c8
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c71b773a626d2895983bda0b5eed137c79b3c93a
Log:
fix C++ compat
Changed paths:
M Zend/zend_modules.h
Diff:
diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h
index 40ad9ca..4e3eeed 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