Skip to content

Commit c71b773

Browse files
committed
fix C++ compat
1 parent e3cc15d commit c71b773

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_modules.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,13 @@ struct _zend_module_dep {
122122
unsigned char type; /* dependency type */
123123
};
124124

125+
BEGIN_EXTERN_C()
125126
extern ZEND_API HashTable module_registry;
126127

127128
void module_destructor(zend_module_entry *module);
128129
int module_registry_request_startup(zend_module_entry *module);
129130
int module_registry_unload_temp(const zend_module_entry *module);
131+
END_EXTERN_C()
130132

131133
#endif
132134

0 commit comments

Comments
 (0)