diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2020-12-16 08:15:13 -0800 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2020-12-18 09:54:11 -0800 |
| commit | 52fb696ee7d01b1d55a1d5c42c60c6a5ebfc4502 (patch) | |
| tree | 86045676ae96f24768fdc841ca613ee314731c82 /spec/ruby | |
| parent | 7b06085c7bf8cc0db157e46fb11d16a6447d4d63 (diff) | |
Switch rb_category_warn{,ing} to accept an rb_warning_category_t
Since we decided to only allowing specific warning categories,
there is no reason to have an API that accepts a general string,
as it is more error-prone. Switch to only allowing the specific
warning categories.
As rb_category_warn{,ing} are public API, this requires making
rb_warning_category_t public API as well.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3917
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
