Skip to content
  • Peter Zhu's avatar
    07e89bde
    Fix MEMMOVE in rb_darray_insert · 07e89bde
    Peter Zhu authored
    Ruby's MEMMOVE takes in the element data type for the third argument, not
    the size of the element. What this did was do sizeof(sizeof( ... )) which
    always returned sizeof(size_t).
    07e89bde
    Fix MEMMOVE in rb_darray_insert
    Peter Zhu authored
    Ruby's MEMMOVE takes in the element data type for the third argument, not
    the size of the element. What this did was do sizeof(sizeof( ... )) which
    always returned sizeof(size_t).
Loading