Remove rb_clear_constant_cache deprecated for 3 years

This commit is contained in:
Nobuyoshi Nakada 2025-12-08 13:05:02 +09:00
parent 1ca464347a
commit 5c2f6639c5
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-12-26 10:05:06 +00:00
3 changed files with 0 additions and 7 deletions

View File

@ -11,8 +11,6 @@
#include "ruby/internal/interpreter.h"
#include "ruby/backward/2/attributes.h"
RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() void rb_clear_constant_cache(void);
/* from version.c */
#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
# error RUBY_SHOW_COPYRIGHT_TO_DIE is deprecated

View File

@ -101,8 +101,6 @@ const struct rb_callcache *rb_vm_search_method_slowpath(const struct rb_callinfo
/* vm_method.c */
int rb_ec_obj_respond_to(struct rb_execution_context_struct *ec, VALUE obj, ID id, int priv);
void rb_clear_constant_cache(void);
/* vm_dump.c */
void rb_print_backtrace(FILE *);

View File

@ -325,9 +325,6 @@ rb_clear_constant_cache_for_id_i(st_data_t ic, st_data_t arg)
return ST_CONTINUE;
}
// Here for backward compat.
void rb_clear_constant_cache(void) {}
void
rb_clear_constant_cache_for_id(ID id)
{