v8js_exceptions.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2015 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. | Author: Stefan Siegl <[email protected]> |
  12. +----------------------------------------------------------------------+
  13. */
  14. #ifndef V8JS_EXCEPTIONS_H
  15. #define V8JS_EXCEPTIONS_H
  16. extern zend_class_entry *php_ce_v8js_exception;
  17. extern zend_class_entry *php_ce_v8js_script_exception;
  18. extern zend_class_entry *php_ce_v8js_time_limit_exception;
  19. extern zend_class_entry *php_ce_v8js_memory_limit_exception;
  20. void v8js_create_script_exception(zval *return_value, v8::Isolate *isolate, v8::TryCatch *try_catch TSRMLS_DC);
  21. void v8js_throw_script_exception(v8::Isolate *isolate, v8::TryCatch *try_catch TSRMLS_DC);
  22. PHP_MINIT_FUNCTION(v8js_exceptions);
  23. #endif /* V8JS_EXCEPTIONS_H */
  24. /*
  25. * Local variables:
  26. * tab-width: 4
  27. * c-basic-offset: 4
  28. * End:
  29. * vim600: noet sw=4 ts=4 fdm=marker
  30. * vim<600: noet sw=4 ts=4
  31. */