exception.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Vtiful Extension |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 2017-2017 The Viest |
  6. +----------------------------------------------------------------------+
  7. | http://www.viest.me |
  8. +----------------------------------------------------------------------+
  9. | Author: viest <[email protected]> |
  10. +----------------------------------------------------------------------+
  11. */
  12. #include "include.h"
  13. //#include <php.h>
  14. //#include "zend_exceptions.h"
  15. //#include "php_excel_writer.h"
  16. //#include "exception.h"
  17. zend_class_entry *vtiful_exception_ce;
  18. /** {{{ exception_methods
  19. */
  20. zend_function_entry exception_methods[] = {
  21. PHP_FE_END
  22. };
  23. /* }}} */
  24. /** {{{ VTIFUL_STARTUP_FUNCTION
  25. */
  26. VTIFUL_STARTUP_FUNCTION(exception) {
  27. zend_class_entry ce;
  28. INIT_NS_CLASS_ENTRY(ce, "Vtiful\\Kernel", "Exception", exception_methods);
  29. vtiful_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception);
  30. return SUCCESS;
  31. }
  32. /* }}} */