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

Moved ruby_node_name declaration to node.h

This commit is contained in:
Nobuyoshi Nakada 2019-09-13 17:17:21 +09:00
parent 2da6b328bb
commit 5f5aca1b5f
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 1 additions and 1 deletions

1
node.h
View file

@ -432,6 +432,7 @@ rb_ast_t *rb_compile_string(const char*, VALUE, int);
rb_ast_t *rb_compile_file(const char*, VALUE, int); rb_ast_t *rb_compile_file(const char*, VALUE, int);
void rb_node_init(NODE *n, enum node_type type, VALUE a0, VALUE a1, VALUE a2); void rb_node_init(NODE *n, enum node_type type, VALUE a0, VALUE a1, VALUE a2);
const char *ruby_node_name(int node);
const struct kwtable *rb_reserved_word(const char *, unsigned int); const struct kwtable *rb_reserved_word(const char *, unsigned int);

View file

@ -1020,7 +1020,6 @@ rb_iseq_t *rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VA
VALUE rb_iseq_disasm(const rb_iseq_t *iseq); VALUE rb_iseq_disasm(const rb_iseq_t *iseq);
int rb_iseq_disasm_insn(VALUE str, const VALUE *iseqval, size_t pos, const rb_iseq_t *iseq, VALUE child); int rb_iseq_disasm_insn(VALUE str, const VALUE *iseqval, size_t pos, const rb_iseq_t *iseq, VALUE child);
const char *ruby_node_name(int node);
VALUE rb_iseq_coverage(const rb_iseq_t *iseq); VALUE rb_iseq_coverage(const rb_iseq_t *iseq);