php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
msgformat_class.h File Reference
#include <php.h>
#include <unicode/uconfig.h>
#include "../intl_common.h"
#include "../intl_error.h"
#include "../intl_data.h"
#include "msgformat_data.h"

Go to the source code of this file.

Data Structures

struct  MessageFormatter_object
 

Macros

#define Z_INTL_MESSAGEFORMATTER_P(zv)
 
#define MSG_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(MessageFormatter, mfo)
 
#define MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_MESSAGEFORMATTER, mfo)
 
#define MSG_FORMAT_METHOD_FETCH_OBJECT
 
#define MSG_FORMAT_OBJECT(mfo)
 

Functions

void msgformat_register_class (void)
 

Variables

zend_class_entryMessageFormatter_ce_ptr
 

Macro Definition Documentation

◆ MSG_FORMAT_METHOD_FETCH_OBJECT

#define MSG_FORMAT_METHOD_FETCH_OBJECT
Value:
if (MSG_FORMAT_OBJECT(mfo) == NULL) { \
zend_throw_error(NULL, "Found unconstructed MessageFormatter"); \
RETURN_THROWS(); \
}
#define NULL
Definition gdcache.h:45
#define MSG_FORMAT_OBJECT(mfo)
#define MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK

Definition at line 46 of file msgformat_class.h.

◆ MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK

#define MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_MESSAGEFORMATTER, mfo)

Definition at line 45 of file msgformat_class.h.

◆ MSG_FORMAT_METHOD_INIT_VARS

#define MSG_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(MessageFormatter, mfo)

Definition at line 44 of file msgformat_class.h.

◆ MSG_FORMAT_OBJECT

#define MSG_FORMAT_OBJECT ( mfo)
Value:
(mfo)->mf_data.umsgf

Definition at line 53 of file msgformat_class.h.

◆ Z_INTL_MESSAGEFORMATTER_P

#define Z_INTL_MESSAGEFORMATTER_P ( zv)
Value:
php_intl_messageformatter_fetch_object(Z_OBJ_P(zv))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 37 of file msgformat_class.h.

Function Documentation

◆ msgformat_register_class()

void msgformat_register_class ( void )

Definition at line 88 of file msgformat_class.c.

Variable Documentation

◆ MessageFormatter_ce_ptr

zend_class_entry* MessageFormatter_ce_ptr
extern

Definition at line 24 of file msgformat_class.c.