v8js_exceptions.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 7 |
  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);
  21. void v8js_throw_script_exception(v8::Isolate *isolate, v8::TryCatch *try_catch);
  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. * indent-tabs-mode: t
  29. * End:
  30. * vim600: noet sw=4 ts=4 fdm=marker
  31. * vim<600: noet sw=4 ts=4
  32. */