mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Using RBOOL macro
This commit is contained in:
parent
3688b47671
commit
378e8cdad6
Notes:
git
2021-08-02 12:07:13 +09:00
Merged: https://github.com/ruby/ruby/pull/4695 Merged-By: nobu <nobu@ruby-lang.org>
26 changed files with 127 additions and 257 deletions
|
@ -104,4 +104,6 @@ RUBY_SYMBOL_EXPORT_END
|
|||
// but breakpoint is set in run.gdb, so `make gdb` can stop here.
|
||||
#define bp() ruby_debug_breakpoint()
|
||||
|
||||
#define RBOOL(v) ((v) ? Qtrue : Qfalse)
|
||||
|
||||
#endif /* RUBY_INTERNAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue