mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
other minior internal header tweaks
These headers need no rewrite. Just add some minor tweaks, like addition of #include lines. Mainly cosmetic. TIMET_MAX_PLUS_ONE was deleted because the macro was used from only one place (directly write expression there).
This commit is contained in:
parent
3ae09b30f8
commit
bf53d6c7d1
Notes:
git
2019-12-26 20:45:56 +09:00
25 changed files with 76 additions and 32 deletions
|
@ -9,15 +9,20 @@
|
|||
* modify this file, provided that the conditions mentioned in the
|
||||
* file COPYING are met. Consult the file for details.
|
||||
*/
|
||||
#include "ruby/ruby.h" /* for VALUE */
|
||||
|
||||
#ifndef USE_SYMBOL_GC
|
||||
# define USE_SYMBOL_GC 1
|
||||
#endif
|
||||
|
||||
struct rb_iseq_struct; /* in vm_core.h */
|
||||
|
||||
/* parse.y */
|
||||
#ifndef USE_SYMBOL_GC
|
||||
#define USE_SYMBOL_GC 1
|
||||
#endif
|
||||
VALUE rb_parser_set_yydebug(VALUE, VALUE);
|
||||
void *rb_parser_load_file(VALUE parser, VALUE name);
|
||||
|
||||
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);
|
||||
|
||||
#endif /* INTERNAL_PARSE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue