diff options
author | yui-knk <[email protected]> | 2024-01-08 12:20:03 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-01-08 14:02:48 +0900 |
commit | 7ffff3e043b081a8c72b8f8c537f17388fd127a9 (patch) | |
tree | 635b6035cd6080d709588beade92e1f3c6364be2 /internal/ruby_parser.h | |
parent | d9bad91c342d65332588672081597af5ab30fe97 (diff) |
Change numeric node value functions argument to `NODE *`
Change the argument to align with other node value functions
like `rb_node_line_lineno_val`.
Diffstat (limited to 'internal/ruby_parser.h')
-rw-r--r-- | internal/ruby_parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/ruby_parser.h b/internal/ruby_parser.h index 9efc04b70b..8da062bf9f 100644 --- a/internal/ruby_parser.h +++ b/internal/ruby_parser.h @@ -74,9 +74,9 @@ enum lex_state_e { VALUE rb_node_line_lineno_val(const NODE *); VALUE rb_node_file_path_val(const NODE *); -VALUE rb_node_integer_literal_val(rb_node_integer_t* node); -VALUE rb_node_float_literal_val(rb_node_float_t* node); -VALUE rb_node_rational_literal_val(rb_node_rational_t* node); -VALUE rb_node_imaginary_literal_val(rb_node_imaginary_t* node); +VALUE rb_node_integer_literal_val(const NODE *); +VALUE rb_node_float_literal_val(const NODE *); +VALUE rb_node_rational_literal_val(const NODE *); +VALUE rb_node_imaginary_literal_val(const NODE *); #endif /* INTERNAL_RUBY_PARSE_H */ |