• dearblue's avatar
    Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING` · d0501c69
    dearblue authored
    Previously, if `MRB_NAN_BOXING` is defined, for example,
    `mrb_cptr_value()` could not keep an odd address.
    
    If it is `MRB_32BIT`, it can be embedded in `NaN` as it is.
    
    If it is `MRB_64BIT`, some operations are shared with `MRB_WORD_BOXING`.
    In this case, the MRB_API function `mrb_nan_boxing_cptr_value()` is
    defined.
    d0501c69
etc.c 4.79 KB