mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
namespace on read
This commit is contained in:
parent
49742414f6
commit
382645d440
86 changed files with 5850 additions and 702 deletions
3
method.h
3
method.h
|
@ -197,6 +197,7 @@ struct rb_method_definition_struct {
|
|||
|
||||
ID original_id;
|
||||
uintptr_t method_serial;
|
||||
const rb_namespace_t *ns;
|
||||
};
|
||||
|
||||
struct rb_id_table;
|
||||
|
@ -247,6 +248,7 @@ const rb_callable_method_entry_t *rb_method_entry_complement_defined_class(const
|
|||
void rb_method_entry_copy(rb_method_entry_t *dst, const rb_method_entry_t *src);
|
||||
|
||||
void rb_method_table_insert(VALUE klass, struct rb_id_table *table, ID method_id, const rb_method_entry_t *me);
|
||||
void rb_method_table_insert0(VALUE klass, struct rb_id_table *table, ID method_id, const rb_method_entry_t *me, bool iclass_shared_mtbl);
|
||||
|
||||
void rb_scope_visibility_set(rb_method_visibility_t);
|
||||
|
||||
|
@ -254,5 +256,6 @@ VALUE rb_unnamed_parameters(int arity);
|
|||
|
||||
void rb_clear_method_cache(VALUE klass_or_module, ID mid);
|
||||
void rb_clear_all_refinement_method_cache(void);
|
||||
void rb_invalidate_method_caches(struct rb_id_table *cm_tbl, struct rb_id_table *cc_tbl);
|
||||
|
||||
#endif /* RUBY_METHOD_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue