Back to index

php5  5.3.10
Defines
intl_common.h File Reference
#include <php.h>
#include <unicode/utypes.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define UBYTES(len)   ((len) * sizeof(UChar))
#define eumalloc(size)   (UChar*)safe_emalloc(size, sizeof(UChar), 0)
#define eurealloc(ptr, size)   (UChar*)erealloc((ptr), size * sizeof(UChar))
#define USIZE(data)   sizeof((data))/sizeof(UChar)
#define UCHARS(len)   ((len) / sizeof(UChar))
#define INTL_Z_STRVAL_P(str)   (UChar*) Z_STRVAL_P(str)
#define INTL_Z_STRLEN_P(str)   UCHARS( Z_STRLEN_P(str) )

Define Documentation

#define eumalloc (   size)    (UChar*)safe_emalloc(size, sizeof(UChar), 0)

Definition at line 31 of file intl_common.h.

#define eurealloc (   ptr,
  size 
)    (UChar*)erealloc((ptr), size * sizeof(UChar))

Definition at line 35 of file intl_common.h.

#define INTL_Z_STRLEN_P (   str)    UCHARS( Z_STRLEN_P(str) )

Definition at line 42 of file intl_common.h.

#define INTL_Z_STRVAL_P (   str)    (UChar*) Z_STRVAL_P(str)

Definition at line 41 of file intl_common.h.

#define UBYTES (   len)    ((len) * sizeof(UChar))

Definition at line 27 of file intl_common.h.

#define UCHARS (   len)    ((len) / sizeof(UChar))

Definition at line 39 of file intl_common.h.

#define USIZE (   data)    sizeof((data))/sizeof(UChar)

Definition at line 38 of file intl_common.h.