zend_llist_destroy(&zend_error_notify_callbacks);
}
-void zend_register_error_notify_callback(zend_error_notify_cb cb)
+ZEND_API void zend_register_error_notify_callback(zend_error_notify_cb cb)
{
zend_llist_add_element(&zend_error_notify_callbacks, &cb);
}
typedef void (*zend_error_notify_cb)(int type, const char *error_filename, uint32_t error_lineno, zend_string *message);
BEGIN_EXTERN_C()
-
-void zend_register_error_notify_callback(zend_error_notify_cb callback);
+ZEND_API void zend_register_error_notify_callback(zend_error_notify_cb callback);
void zend_startup_error_notify_callbacks();
void zend_shutdown_error_notify_callbacks();
void zend_error_notify_all_callbacks(int type, const char *error_filename, uint32_t error_lineno, zend_string *message);