mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
Remove rb_clear_constant_cache deprecated for 3 years
This commit is contained in:
parent
1ca464347a
commit
5c2f6639c5
Notes:
git
2025-12-26 10:05:06 +00:00
@ -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
|
||||
|
||||
@ -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 *);
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user