cvs: php-src /main php.h
| From: | Marcus Boerger | Date: | Fri, 29 Aug 2003 00:22:37 +0000 |
| Subject: | cvs: php-src /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23488@lists.php.net to get a copy of this message | ||
helly Thu Aug 28 20:22:37 2003 EDT
Modified files:
/php-src/main php.h
Log:
Add define to reset error handling more easily
Index: php-src/main/php.h
diff -u php-src/main/php.h:1.196 php-src/main/php.h:1.197
--- php-src/main/php.h:1.196 Thu Aug 28 12:49:43 2003
+++ php-src/main/php.h Thu Aug 28 20:22:36 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.196 2003/08/28 16:49:43 sas Exp $ */
+/* $Id: php.h,v 1.197 2003/08/29 00:22:36 helly Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -296,6 +296,7 @@
BEGIN_EXTERN_C();
PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry
*exception_class TSRMLS_DC);
+#define php_std_error_handling() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC)
PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format,
va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);