- Change register_internal_class to zend_register_internal_class for

- consistency.
- Andrei: I'm still thinking about the _ex you want me to implement
This commit is contained in:
Andi Gutmans 2000-06-09 08:41:59 +00:00
parent a7d1bc96be
commit 6ce07a85e4
9 changed files with 14 additions and 14 deletions

View File

@ -868,7 +868,7 @@ int zend_next_free_module(void)
}
ZEND_API zend_class_entry *register_internal_class(zend_class_entry *class_entry)
ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry)
{
zend_class_entry *register_class;
char *lowercase_name = zend_strndup(class_entry->name, class_entry->name_length);

View File

@ -111,7 +111,7 @@ ZEND_API int ParameterPassedByReference(int ht, uint n);
int zend_register_functions(zend_function_entry *functions, HashTable *function_table);
void zend_unregister_functions(zend_function_entry *functions, int count, HashTable *function_table);
ZEND_API int zend_register_module(zend_module_entry *module_entry);
ZEND_API zend_class_entry *register_internal_class(zend_class_entry *class_entry);
ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry);
ZEND_API zend_module_entry *zend_get_module(int module_number);
ZEND_API int zend_disable_function(char *function_name, uint function_name_length);

View File

@ -134,11 +134,11 @@ PHP_MINIT_FUNCTION(domxml)
INIT_CLASS_ENTRY(domxmlattr_class_entry, "DomAttribute", php_domxmlattr_class_functions);
INIT_CLASS_ENTRY(domxmlns_class_entry, "DomNamespace", php_domxmlns_class_functions);
domxmldoc_class_entry_ptr = register_internal_class(&domxmldoc_class_entry);
domxmldtd_class_entry_ptr = register_internal_class(&domxmldtd_class_entry);
domxmlnode_class_entry_ptr = register_internal_class(&domxmlnode_class_entry);
domxmlattr_class_entry_ptr = register_internal_class(&domxmlattr_class_entry);
domxmlns_class_entry_ptr = register_internal_class(&domxmlns_class_entry);
domxmldoc_class_entry_ptr = zend_register_internal_class(&domxmldoc_class_entry);
domxmldtd_class_entry_ptr = zend_register_internal_class(&domxmldtd_class_entry);
domxmlnode_class_entry_ptr = zend_register_internal_class(&domxmlnode_class_entry);
domxmlattr_class_entry_ptr = zend_register_internal_class(&domxmlattr_class_entry);
domxmlns_class_entry_ptr = zend_register_internal_class(&domxmlns_class_entry);
REGISTER_LONG_CONSTANT("XML_ELEMENT_NODE", XML_ELEMENT_NODE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_NODE", XML_ATTRIBUTE_NODE, CONST_CS | CONST_PERSISTENT);
@ -292,7 +292,7 @@ void domxmltestnode_class_startup()
domxmltestnode_class_get_property,
domxmltestnode_class_set_property);
domxmltestnode_class_entry_ptr = register_internal_class(&domxmltestnode_class_entry);
domxmltestnode_class_entry_ptr = zend_register_internal_class(&domxmltestnode_class_entry);
}
#endif

View File

@ -452,7 +452,7 @@ PHP_MINIT_FUNCTION(java) {
java_get_property_handler,
java_set_property_handler);
register_internal_class(&java_class_entry);
zend_register_internal_class(&java_class_entry);
le_jobject = register_list_destructors(_php_java_destructor,NULL);

View File

@ -367,7 +367,7 @@ PHP_MINIT_FUNCTION(oci)
INIT_CLASS_ENTRY(oci_lob_class_entry, "OCI-Lob", php_oci_lob_class_functions);
oci_lob_class_entry_ptr = register_internal_class(&oci_lob_class_entry);
oci_lob_class_entry_ptr = zend_register_internal_class(&oci_lob_class_entry);
/* thies@digicol.de 990203 i do not think that we will need all of them - just in here for completeness for now! */
REGISTER_LONG_CONSTANT("OCI_DEFAULT",OCI_DEFAULT, CONST_CS | CONST_PERSISTENT);

View File

@ -972,7 +972,7 @@ void php_register_COM_class()
php_COM_get_property_handler,
php_COM_set_property_handler);
register_internal_class(&com_class_entry);
zend_register_internal_class(&com_class_entry);
}

View File

@ -452,7 +452,7 @@ PHP_MINIT_FUNCTION(java) {
java_get_property_handler,
java_set_property_handler);
register_internal_class(&java_class_entry);
zend_register_internal_class(&java_class_entry);
le_jobject = register_list_destructors(_php_java_destructor,NULL);

View File

@ -1702,7 +1702,7 @@ void test_class_startup()
test_class_get_property,
test_class_set_property);
register_internal_class(&test_class_entry);
zend_register_internal_class(&test_class_entry);
}
/* {{{ proto string ini_get(string varname)

View File

@ -109,7 +109,7 @@ PHP_MINIT_FUNCTION(dir)
le_dirp = register_list_destructors(_dir_dtor,NULL);
INIT_CLASS_ENTRY(dir_class_entry, "Directory", php_dir_class_functions);
dir_class_entry_ptr = register_internal_class(&dir_class_entry);
dir_class_entry_ptr = zend_register_internal_class(&dir_class_entry);
#ifdef ZTS
dir_globals_id = ts_allocate_id(sizeof(php_dir_globals), (ts_allocate_ctor) php_dir_init_globals, NULL);