diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b0b5153b66..d86c990ada 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -326,6 +326,9 @@ void rb_check_safe_str(VALUE); VALUE rb_get_path(VALUE); #define FilePathValue(v) ((v) = rb_get_path(v)) +VALUE rb_get_path_no_checksafe(VALUE); +#define FilePathStringValue(v) ((v) = rb_get_path_no_checksafe(v)) + void rb_secure(int); int rb_safe_level(void); void rb_set_safe_level(int); |