- Get rid of ELS_*(), and use TSRMLS_*() instead.

- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
This commit is contained in:
Zeev Suraski 2001-07-27 10:16:41 +00:00
parent 2c254ba762
commit fe6f8712a4
70 changed files with 392 additions and 381 deletions

View file

@ -599,7 +599,7 @@ static void _php_java_destructor(zend_rsrc_list_entry *rsrc)
}
#ifdef ZTS
static void alloc_java_globals_ctor(php_java_globals *java_globals) {
static void alloc_java_globals_ctor(php_java_globals *java_globals TSRMLS_DC) {
memset(java_globals, 0, sizeof(php_java_globals));
}
#endif
@ -624,7 +624,7 @@ PHP_MINIT_FUNCTION(java) {
}
#ifdef ZTS
java_globals_id = ts_allocate_id(sizeof(php_java_globals),
ts_allocate_id(&java_globals_id, sizeof(php_java_globals),
(ts_allocate_ctor)alloc_java_globals_ctor, NULL);
#endif