exception.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 <php.h>
  13. #include "zend_exceptions.h"
  14. #include "php_excel_writer.h"
  15. #include "exception.h"
  16. zend_class_entry *vtiful_exception_ce;
  17. /** {{{ exception_methods
  18. */
  19. zend_function_entry exception_methods[] = {
  20. PHP_FE_END
  21. };
  22. /* }}} */
  23. /** {{{ VTIFUL_STARTUP_FUNCTION
  24. */
  25. VTIFUL_STARTUP_FUNCTION(exception) {
  26. zend_class_entry ce;
  27. INIT_NS_CLASS_ENTRY(ce, "Vtiful\\Kernel", "Exception", exception_methods);
  28. vtiful_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception);
  29. return SUCCESS;
  30. }
  31. /* }}} */