php-internal-docs
8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
formatter_data.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: Stanislav Malyshev <stas@zend.com> |
12
+----------------------------------------------------------------------+
13
*/
14
15
#ifndef FORMATTER_DATA_H
16
#define FORMATTER_DATA_H
17
18
#include <
php.h
>
19
20
#include <unicode/unum.h>
21
22
#include "
intl_error.h
"
23
24
typedef
struct
{
25
// error hangling
26
intl_error
error
;
27
28
// formatter handling
29
UNumberFormat*
unum
;
30
}
formatter_data
;
31
32
formatter_data
*
formatter_data_create
(
void
);
33
void
formatter_data_init
(
formatter_data
* nf_data );
34
void
formatter_data_free
(
formatter_data
* nf_data );
35
36
#endif
// FORMATTER_DATA_H
formatter_data_init
void formatter_data_init(formatter_data *nf_data)
Definition
formatter_data.c:24
formatter_data_free
void formatter_data_free(formatter_data *nf_data)
Definition
formatter_data.c:37
formatter_data_create
formatter_data * formatter_data_create(void)
Definition
formatter_data.c:53
intl_error.h
intl_error
struct _intl_error intl_error
php.h
formatter_data
Definition
formatter_data.h:24
formatter_data::unum
UNumberFormat * unum
Definition
formatter_data.h:29
formatter_data::error
intl_error error
Definition
formatter_data.h:26
ext
intl
formatter
formatter_data.h
Generated on Sat Aug 23 2025 01:46:08 for php-internal-docs by
1.13.2