- Timestamp:
- 03/04/2007 09:17:08 (21 months ago)
- Files:
-
- 1 modified
-
trunk/ext/php/phpext.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/php/phpext.c
r248 r249 29 29 static zend_class_entry *spl_ce_RuntimeException; 30 30 31 PHP_SYCK_API zend_class_entry *php_syck_get_exception_base(TSRMLS_DC) 32 { 31 PHP_SYCK_API zend_class_entry *php_syck_get_exception_base() 32 { 33 TSRMLS_FETCH(); 33 34 #if defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)) 34 35 if (!spl_ce_RuntimeException) { … … 128 129 129 130 INIT_CLASS_ENTRY(ce, PHP_SYCK_EXCEPTION_NAME, NULL); 130 syck_exception_entry = zend_register_internal_class_ex(&ce, php_syck_get_exception_base( TSRMLS_CC), PHP_SYCK_EXCEPTION_PARENT TSRMLS_CC);131 syck_exception_entry = zend_register_internal_class_ex(&ce, php_syck_get_exception_base(), PHP_SYCK_EXCEPTION_PARENT TSRMLS_CC); 131 132 132 133 /* le_mergekeyp = zend_register_list_destructors_ex(destroy_MergeKey_resource, NULL, "MergeKey", module_number);