X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fimpl_val.h;h=69c31b65fcf54bd18635bb0933b88d52b98bc99a;hb=09529efcde471127419e141807b83b37077003a0;hp=18663203b04a51cdefd36263cf61f8ef8ced9d47;hpb=2f5af21b263403997e154658635d6b6e6eaab453;p=m6w6%2Fext-psi diff --git a/src/types/impl_val.h b/src/types/impl_val.h index 1866320..69c31b6 100644 --- a/src/types/impl_val.h +++ b/src/types/impl_val.h @@ -35,18 +35,18 @@ typedef struct zend_fcall { } zend_fcall; typedef union impl_val { - char cval; int8_t i8; uint8_t u8; - short sval; int16_t i16; uint16_t u16; - int ival; int32_t i32; uint32_t u32; - long lval; int64_t i64; uint64_t u64; +#if HAVE_INT128 + int128_t i128; + uint128_t u128; +#endif float fval; double dval; #ifdef HAVE_LONG_DOUBLE @@ -59,6 +59,9 @@ typedef union impl_val { zend_fcall *cb; } zend; void *ptr; +#ifdef PHP_DEBUG + char _dbg[sizeof(void *)]; +#endif } impl_val; #endif