Project

General

Profile

« Previous | Next » 

Revision adf709a7

Added by Marc-Andre Lafortune over 5 years ago

Classes made from Struct should have default new singleton method.

[Bug #16465] [Bug #16801]
[Fix GH-2795] [Fix GH-2944] [Fix GH-3045] [Fix GH-3093]

Note: Backporting shouldn't modify object.h and instead can use
struct_new_kw which is basically a duplicate implementation of
rb_class_new_instance_pass_kw

Co-authored-by: Yusuke Endoh
Co-authored-by: John Hawthorn
Co-authored-by: Adam Hess
Co-authored-by: Jose Cortinas
Co-authored-by: Jean Boussier