diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-13 11:48:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-20 13:54:37 +0900 |
commit | 59a91f229b17d9664df6ff78d7aa4e13a88cdb63 (patch) | |
tree | 2376b5bfbd69543c04695fcf12c4f4b68ae088c3 /include/ruby/internal/intern/vm.h | |
parent | 82b0a9004c57121239f0ad4cfd6fbe75233de228 (diff) | |
download | ruby-59a91f229b17d9664df6ff78d7aa4e13a88cdb63.tar.gz |
Mark `rb_clear_constant_cache` as internal use only
In the past, many internal functions are declared in intern.h
under include/ruby directory, because there were no headers for
internal use.
Diffstat (limited to 'include/ruby/internal/intern/vm.h')
-rw-r--r-- | include/ruby/internal/intern/vm.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/ruby/internal/intern/vm.h b/include/ruby/internal/intern/vm.h index 8215ad5651..eb53c7a356 100644 --- a/include/ruby/internal/intern/vm.h +++ b/include/ruby/internal/intern/vm.h @@ -253,17 +253,6 @@ void rb_undef_alloc_func(VALUE klass); rb_alloc_func_t rb_get_alloc_func(VALUE klass); /** - * Clears the constant cache. Extension libraries should not bother such - * things. Just forget about this API (or even, the presence of constant - * cache). - * - * @internal - * - * Completely no idea why this function is defined in vm_method.c. - */ -void rb_clear_constant_cache(void); - -/** * Resembles `alias`. * * @param[out] klass Where to define an alias. |