diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-01-13 21:12:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-14 11:26:29 +0900 |
commit | 8891890bffb9aecae7444619479ae26d59302cf0 (patch) | |
tree | 167cd69d69407a8dcf68c35efa3a4c2758be6964 /include/ruby/internal | |
parent | 5f3d1eeb55ec69591e76633346d8a4812d3cc36b (diff) |
Mark `rb_path_check` as internal only
Diffstat (limited to 'include/ruby/internal')
-rw-r--r-- | include/ruby/internal/intern/file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/file.h b/include/ruby/internal/intern/file.h index f832c9380f..b669758d21 100644 --- a/include/ruby/internal/intern/file.h +++ b/include/ruby/internal/intern/file.h @@ -24,6 +24,9 @@ #include "ruby/internal/attr/pure.h" #include "ruby/internal/dllexport.h" #include "ruby/internal/value.h" +#if !defined RUBY_EXPORT && !defined RUBY_NO_OLD_COMPATIBILITY +# include "ruby/backward.h" +#endif RBIMPL_SYMBOL_EXPORT_BEGIN() @@ -208,6 +211,9 @@ int rb_is_absolute_path(const char *path); */ rb_off_t rb_file_size(VALUE file); +#ifdef RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY +RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() +#endif /** * If the PATH_SEPARATOR-separated list of directory names contains the name of * a world-writable directory, issue a warning for it. This may do nothing on |