summaryrefslogtreecommitdiff
path: root/ext/java/java.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/java/java.c')
-rw-r--r--ext/java/java.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/java/java.c b/ext/java/java.c
index 955d1882d4..61af18ff35 100644
--- a/ext/java/java.c
+++ b/ext/java/java.c
@@ -604,13 +604,14 @@ static void alloc_java_globals_ctor(php_java_globals *java_globals TSRMLS_DC) {
}
#endif
-PHP_MINIT_FUNCTION(java) {
+PHP_MINIT_FUNCTION(java)
+{
INIT_OVERLOADED_CLASS_ENTRY(java_class_entry, "java", NULL,
java_call_function_handler,
java_get_property_handler,
java_set_property_handler);
- zend_register_internal_class(&java_class_entry);
+ zend_register_internal_class(&java_class_entry TSRMLS_CC);
le_jobject = zend_register_list_destructors_ex(_php_java_destructor, NULL, "java", module_number);