50 lines
1.5 KiB
C++
50 lines
1.5 KiB
C++
/*
|
|
+----------------------------------------------------------------------+
|
|
| Copyright © The PHP Group and Contributors. |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to the Modified BSD License that is |
|
|
| bundled with this package in the file LICENSE, and is available |
|
|
| through the World Wide Web at <https://www.php.net/license/>. |
|
|
| |
|
|
| SPDX-License-Identifier: BSD-3-Clause |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Ed Batutis <ed@batutis.com> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#if __cplusplus >= 201703L
|
|
#include <string_view>
|
|
#endif
|
|
#include <unicode/unistr.h>
|
|
|
|
#include "normalizer.h"
|
|
#include "normalizer_class.h"
|
|
#include "php_intl.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "normalizer_arginfo.h"
|
|
#include "intl_error.h"
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include <unicode/unorm.h>
|
|
|
|
zend_class_entry *Normalizer_ce_ptr = NULL;
|
|
|
|
/*
|
|
* 'Normalizer' class registration structures & functions
|
|
*/
|
|
|
|
/* {{{ normalizer_register_Normalizer_class
|
|
* Initialize 'Normalizer' class
|
|
*/
|
|
U_CFUNC void normalizer_register_Normalizer_class( void )
|
|
{
|
|
/* Create and register 'Normalizer' class. */
|
|
Normalizer_ce_ptr = register_class_Normalizer();
|
|
Normalizer_ce_ptr->create_object = NULL;
|
|
}
|
|
/* }}} */
|