mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
This commit is contained in:
parent
b57703825b
commit
1c25b8dd53
72 changed files with 211 additions and 223 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue