v8js_exceptions.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2013 The PHP Group |
  6. +----------------------------------------------------------------------+
  7. | http://www.opensource.org/licenses/mit-license.php MIT License |
  8. +----------------------------------------------------------------------+
  9. | Author: Jani Taskinen <[email protected]> |
  10. | Author: Patrick Reilly <[email protected]> |
  11. +----------------------------------------------------------------------+
  12. */
  13. #ifndef V8JS_EXCEPTIONS_H
  14. #define V8JS_EXCEPTIONS_H
  15. extern zend_class_entry *php_ce_v8js_exception;
  16. extern zend_class_entry *php_ce_v8js_script_exception;
  17. extern zend_class_entry *php_ce_v8js_time_limit_exception;
  18. extern zend_class_entry *php_ce_v8js_memory_limit_exception;
  19. void php_v8js_create_script_exception(zval *return_value, v8::TryCatch *try_catch TSRMLS_DC);
  20. void php_v8js_throw_script_exception(v8::TryCatch *try_catch TSRMLS_DC);
  21. PHP_MINIT_FUNCTION(v8js_exceptions);
  22. #endif /* V8JS_EXCEPTIONS_H */
  23. /*
  24. * Local variables:
  25. * tab-width: 4
  26. * c-basic-offset: 4
  27. * End:
  28. * vim600: noet sw=4 ts=4 fdm=marker
  29. * vim<600: noet sw=4 ts=4
  30. */