Skip to content
  • Jeremy Evans's avatar
    52fb696e
    Switch rb_category_warn{,ing} to accept an rb_warning_category_t · 52fb696e
    Jeremy Evans authored
    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.
    52fb696e
    Switch rb_category_warn{,ing} to accept an rb_warning_category_t
    Jeremy Evans authored
    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.
Loading