locale_class.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. +----------------------------------------------------------------------+
  3. | This source file is subject to version 3.01 of the PHP license, |
  4. | that is bundled with this package in the file LICENSE, and is |
  5. | available through the world-wide-web at the following url: |
  6. | https://www.php.net/license/3_01.txt |
  7. | If you did not receive a copy of the PHP license and are unable to |
  8. | obtain it through the world-wide-web, please send a note to |
  9. | license@php.net so we can mail you a copy immediately. |
  10. +----------------------------------------------------------------------+
  11. | Authors: Kirti Velankar <kirtig@yahoo-inc.com> |
  12. +----------------------------------------------------------------------+
  13. */
  14. #include <unicode/uloc.h>
  15. #include "php_intl.h"
  16. #include "intl_error.h"
  17. #include "locale_class.h"
  18. #include "locale.h"
  19. #include "locale_arginfo.h"
  20. zend_class_entry *Locale_ce_ptr = NULL;
  21. /*
  22. * 'Locale' class registration structures & functions
  23. */
  24. /* {{{ locale_register_Locale_class
  25. * Initialize 'Locale' class
  26. */
  27. void locale_register_Locale_class( void )
  28. {
  29. /* Create and register 'Locale' class. */
  30. Locale_ce_ptr = register_class_Locale();
  31. Locale_ce_ptr->create_object = NULL;
  32. }
  33. /* }}} */