exception.c 1.1 KB

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