php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
intl_error.h File Reference
#include <unicode/utypes.h>
#include <unicode/parseerr.h>
#include <zend_smart_str.h>

Go to the source code of this file.

Data Structures

struct  _intl_error
 

Macros

#define INTL_ERROR_CODE(e)
 

Typedefs

typedef struct _intl_error intl_error
 

Functions

intl_errorintl_error_create (void)
 
void intl_error_init (intl_error *err)
 
void intl_error_reset (intl_error *err)
 
void intl_error_set_code (intl_error *err, UErrorCode err_code)
 
void intl_error_set_custom_msg (intl_error *err, const char *msg, int copyMsg)
 
void intl_error_set (intl_error *err, UErrorCode code, const char *msg, int copyMsg)
 
UErrorCode intl_error_get_code (intl_error *err)
 
zend_stringintl_error_get_message (intl_error *err)
 
void intl_errors_reset (intl_error *err)
 
void intl_errors_set_custom_msg (intl_error *err, const char *msg, int copyMsg)
 
void intl_errors_set_code (intl_error *err, UErrorCode err_code)
 
void intl_errors_set (intl_error *err, UErrorCode code, const char *msg, int copyMsg)
 
smart_str intl_parse_error_to_string (UParseError *pe)
 

Macro Definition Documentation

◆ INTL_ERROR_CODE

#define INTL_ERROR_CODE ( e)
Value:
(e).code

Definition at line 24 of file intl_error.h.

Typedef Documentation

◆ intl_error

typedef struct _intl_error intl_error

Function Documentation

◆ intl_error_create()

intl_error * intl_error_create ( void )

Definition at line 55 of file intl_error.c.

◆ intl_error_get_code()

UErrorCode intl_error_get_code ( intl_error * err)

Definition at line 151 of file intl_error.c.

◆ intl_error_get_message()

zend_string * intl_error_get_message ( intl_error * err)

Definition at line 116 of file intl_error.c.

◆ intl_error_init()

void intl_error_init ( intl_error * err)

Definition at line 66 of file intl_error.c.

◆ intl_error_reset()

void intl_error_reset ( intl_error * err)

Definition at line 78 of file intl_error.c.

◆ intl_error_set()

void intl_error_set ( intl_error * err,
UErrorCode code,
const char * msg,
int copyMsg )

Definition at line 161 of file intl_error.c.

◆ intl_error_set_code()

void intl_error_set_code ( intl_error * err,
UErrorCode err_code )

Definition at line 141 of file intl_error.c.

◆ intl_error_set_custom_msg()

void intl_error_set_custom_msg ( intl_error * err,
const char * msg,
int copyMsg )

Definition at line 90 of file intl_error.c.

◆ intl_errors_reset()

void intl_errors_reset ( intl_error * err)

Definition at line 177 of file intl_error.c.

◆ intl_errors_set()

void intl_errors_set ( intl_error * err,
UErrorCode code,
const char * msg,
int copyMsg )

Definition at line 169 of file intl_error.c.

◆ intl_errors_set_code()

void intl_errors_set_code ( intl_error * err,
UErrorCode err_code )

Definition at line 197 of file intl_error.c.

◆ intl_errors_set_custom_msg()

void intl_errors_set_custom_msg ( intl_error * err,
const char * msg,
int copyMsg )

Definition at line 187 of file intl_error.c.

◆ intl_parse_error_to_string()

smart_str intl_parse_error_to_string ( UParseError * pe)

Definition at line 206 of file intl_error.c.