d-unsed / ruru

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

Change class definition API #58

Open d-unsed opened 7 years ago

d-unsed commented 7 years ago

Change class!, methods! and unsafe_methods! macro to have a better API for defining Ruby classes (needs discussion and decision).

danielpclark commented 6 years ago

I'm open for discussing this issue. Although I don't have much in mind of the way of improving the class! macro. I do have a pretty good idea for allowing methods! to support a splat of arguments. #90