From 59a91f229b17d9664df6ff78d7aa4e13a88cdb63 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 13 Jan 2022 11:48:12 +0900 Subject: 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. --- include/ruby/internal/intern/vm.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/ruby/internal') 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 @@ -252,17 +252,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`. * -- cgit v1.2.3