d-unsed / ruru

Native Ruby extensions written in Rust
MIT License
832 stars 40 forks source link

Create Integer struct #54

Closed d-unsed closed 6 years ago

d-unsed commented 7 years ago

Existing API of MRI which is used for both Fixnum and Integer (rb_int2inum, rb_num2int) remains the same in 2.4. Thus no changes in ruby-sys are required.

Duplicate the contents of Fixnum struct to Integer.