15#ifndef TIMEZONE_CLASS_H
16#define TIMEZONE_CLASS_H
28#ifndef USE_TIMEZONE_POINTER
50#define Z_INTL_TIMEZONE_P(zv) php_intl_timezone_fetch_object(Z_OBJ_P(zv))
52#define TIMEZONE_ERROR(to) (to)->err
53#define TIMEZONE_ERROR_P(to) &(TIMEZONE_ERROR(to))
55#define TIMEZONE_ERROR_CODE(co) INTL_ERROR_CODE(TIMEZONE_ERROR(to))
56#define TIMEZONE_ERROR_CODE_P(co) &(INTL_ERROR_CODE(TIMEZONE_ERROR(to)))
58#define TIMEZONE_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(TimeZone, to)
59#define TIMEZONE_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(INTL_TIMEZONE, to)
60#define TIMEZONE_METHOD_FETCH_OBJECT\
61 TIMEZONE_METHOD_FETCH_OBJECT_NO_CHECK; \
62 if (to->utimezone == NULL) { \
63 zend_throw_error(NULL, "Found unconstructed IntlTimeZone"); \
struct _intl_error intl_error
const TimeZone * utimezone
void timezone_object_construct(const TimeZone *zone, zval *object, int owned)
void timezone_register_IntlTimeZone_class(void)
TimeZone * timezone_process_timezone_argument(zval *zv_timezone, intl_error *error, const char *func)
zend_object_handlers TimeZone_handlers
zend_class_entry * TimeZone_ce_ptr
zval * timezone_convert_to_datetimezone(const TimeZone *timeZone, intl_error *outside_error, const char *func, zval *ret)
#define XtOffsetOf(s_type, field)
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
struct _zend_object_handlers zend_object_handlers