Using RBOOL macro

This commit is contained in:
S.H 2021-08-02 12:06:44 +09:00 committed by GitHub
parent 3688b47671
commit 378e8cdad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

View file

@ -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 */