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

Go to the source code of this file.

Data Structures

struct  IntlIterator_object
 
struct  zoi_with_current
 

Macros

#define INTLITERATOR_ERROR(ii)
 
#define INTLITERATOR_ERROR_P(ii)
 
#define INTLITERATOR_ERROR_CODE(ii)
 
#define INTLITERATOR_ERROR_CODE_P(ii)
 
#define INTLITERATOR_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlIterator, ii)
 
#define INTLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_ITERATOR, ii)
 
#define INTLITERATOR_METHOD_FETCH_OBJECT
 
#define Z_INTL_ITERATOR_P(zv)
 

Functions

U_CFUNC void zoi_with_current_dtor (zend_object_iterator *iter)
 
U_CFUNC zend_result zoi_with_current_valid (zend_object_iterator *iter)
 
U_CFUNC zvalzoi_with_current_get_current_data (zend_object_iterator *iter)
 
U_CFUNC void zoi_with_current_invalidate_current (zend_object_iterator *iter)
 
U_CFUNC HashTablezoi_with_current_get_gc (zend_object_iterator *iter, zval **table, int *n)
 
U_CFUNC void intl_register_common_symbols (int module_number)
 

Variables

zend_class_entryIntlIterator_ce_ptr
 
zend_object_handlers IntlIterator_handlers
 

Macro Definition Documentation

◆ INTLITERATOR_ERROR

#define INTLITERATOR_ERROR ( ii)
Value:
(ii)->err
char * err
Definition ffi.c:3029

Definition at line 32 of file common_enum.h.

◆ INTLITERATOR_ERROR_CODE

#define INTLITERATOR_ERROR_CODE ( ii)
Value:
#define INTLITERATOR_ERROR(ii)
Definition common_enum.h:32
#define INTL_ERROR_CODE(e)
Definition intl_error.h:24

Definition at line 35 of file common_enum.h.

◆ INTLITERATOR_ERROR_CODE_P

#define INTLITERATOR_ERROR_CODE_P ( ii)
Value:

Definition at line 36 of file common_enum.h.

◆ INTLITERATOR_ERROR_P

#define INTLITERATOR_ERROR_P ( ii)
Value:

Definition at line 33 of file common_enum.h.

◆ INTLITERATOR_METHOD_FETCH_OBJECT

#define INTLITERATOR_METHOD_FETCH_OBJECT
Value:
object = ZEND_THIS; \
if (ii->iterator == NULL) { \
zend_throw_error(NULL, "Found unconstructed IntlIterator"); \
RETURN_THROWS(); \
}
#define INTLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK
Definition common_enum.h:39
#define NULL
Definition gdcache.h:45
#define ZEND_THIS
Definition zend_API.h:523

Definition at line 40 of file common_enum.h.

◆ INTLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK

#define INTLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_ITERATOR, ii)

Definition at line 39 of file common_enum.h.

◆ INTLITERATOR_METHOD_INIT_VARS

#define INTLITERATOR_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlIterator, ii)

Definition at line 38 of file common_enum.h.

◆ Z_INTL_ITERATOR_P

#define Z_INTL_ITERATOR_P ( zv)
Value:
php_intl_iterator_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 58 of file common_enum.h.

Function Documentation

◆ intl_register_common_symbols()

U_CFUNC void intl_register_common_symbols ( int module_number)

◆ zoi_with_current_dtor()

U_CFUNC void zoi_with_current_dtor ( zend_object_iterator * iter)

◆ zoi_with_current_get_current_data()

U_CFUNC zval * zoi_with_current_get_current_data ( zend_object_iterator * iter)

◆ zoi_with_current_get_gc()

U_CFUNC HashTable * zoi_with_current_get_gc ( zend_object_iterator * iter,
zval ** table,
int * n )

◆ zoi_with_current_invalidate_current()

U_CFUNC void zoi_with_current_invalidate_current ( zend_object_iterator * iter)

◆ zoi_with_current_valid()

U_CFUNC zend_result zoi_with_current_valid ( zend_object_iterator * iter)

Variable Documentation

◆ IntlIterator_ce_ptr

zend_class_entry* IntlIterator_ce_ptr
extern

◆ IntlIterator_handlers

zend_object_handlers IntlIterator_handlers
extern