php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
locale_class.h
Go to the documentation of this file.
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
15#ifndef LOCALE_CLASS_H
16#define LOCALE_CLASS_H
17
18#include <php.h>
19
20#include "intl_common.h"
21#include "intl_error.h"
22
23#include <unicode/uloc.h>
24
25typedef struct {
27
28 // ICU locale
29 char* uloc1;
30
32
33
35
37
38/* Auxiliary macros */
39
40#define LOCALE_METHOD_INIT_VARS \
41 zval* object = NULL; \
42 intl_error_reset( NULL ); \
43
44#endif // #ifndef LOCALE_CLASS_H
zend_class_entry * Locale_ce_ptr
void locale_register_Locale_class(void)
zend_object zo
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object