summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Evans <[email protected]>2019-09-25 15:49:21 -0700
committerJeremy Evans <[email protected]>2019-11-18 01:00:25 +0200
commitc257303ae78d0e307a80dbe5ccd405abc6e8d44d ()
tree7ac3c50cb98d43f930bf82bafca7ffbcea39e119 /include
parentd03da13b17484cb3f8697e9125e028eb65ef7a39 (diff)
Deprecate rb_eval_cmd, add rb_eval_cmd_kw
rb_eval_cmd takes a safe level, and now that $SAFE is deprecated, it should be deprecated as well. Replace with rb_eval_cmd_kw, which takes a keyword flag. Switch the two callers to this function.
Notes: Merged: https://.com/ruby/ruby/pull/2476
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
@@ -435,6 +435,7 @@ void rb_attr(VALUE,ID,int,int,int);
int rb_method_boundp(VALUE, ID, int);
int rb_method_basic_definition_p(VALUE, ID);
VALUE rb_eval_cmd(VALUE, VALUE, int);
int rb_obj_respond_to(VALUE, ID, int);
int rb_respond_to(VALUE, ID);
NORETURN(VALUE rb_f_notimplement(int argc, const VALUE *argv, VALUE obj, VALUE marker));