1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

internal/symbol.h rework

Some declatations are moved from internal/parse.h, to reflect the fact
that they are defined in symbol.c.
This commit is contained in:
卜部昌平 2019-12-04 14:15:46 +09:00
parent 1a80d7bcda
commit ce2c97d738
Notes: git 2019-12-26 20:45:57 +09:00
2 changed files with 17 additions and 17 deletions

View file

@ -19,13 +19,5 @@ RUBY_SYMBOL_EXPORT_BEGIN
VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int);
RUBY_SYMBOL_EXPORT_END
void *rb_parser_load_file(VALUE parser, VALUE name);
int rb_is_const_name(VALUE name);
int rb_is_class_name(VALUE name);
int rb_is_instance_name(VALUE name);
int rb_is_local_name(VALUE name);
PUREFUNC(int rb_is_const_sym(VALUE sym));
PUREFUNC(int rb_is_attrset_sym(VALUE sym));
ID rb_make_internal_id(void);
void rb_gc_free_dsymbol(VALUE);
#endif /* INTERNAL_PARSE_H */