mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
internal/variable.h rework
Eliminated macros. Also marked MJIT_FUNC_EXPORTED functions as such. Some of them are declared in constant.h so edited that file also.
This commit is contained in:
parent
989068cf70
commit
f3a229fe2d
Notes:
git
2019-12-26 20:46:02 +09:00
2 changed files with 54 additions and 18 deletions
|
@ -39,12 +39,15 @@ VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj);
|
|||
VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj);
|
||||
VALUE rb_mod_deprecate_constant(int argc, const VALUE *argv, VALUE obj);
|
||||
void rb_free_const_table(struct rb_id_table *tbl);
|
||||
VALUE rb_const_source_location(VALUE, ID);
|
||||
|
||||
MJIT_SYMBOL_EXPORT_BEGIN
|
||||
int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag);
|
||||
rb_const_entry_t *rb_const_lookup(VALUE klass, ID id);
|
||||
VALUE rb_public_const_get_at(VALUE klass, ID id);
|
||||
VALUE rb_public_const_get_from(VALUE klass, ID id);
|
||||
int rb_public_const_defined_from(VALUE klass, ID id);
|
||||
rb_const_entry_t *rb_const_lookup(VALUE klass, ID id);
|
||||
int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag);
|
||||
VALUE rb_const_source_location(VALUE, ID);
|
||||
VALUE rb_const_source_location_at(VALUE, ID);
|
||||
MJIT_SYMBOL_EXPORT_END
|
||||
|
||||
#endif /* CONSTANT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue