mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
82b0a9004c
commit
59a91f229b
3 changed files with 5 additions and 11 deletions
|
@ -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`.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue