diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-07 09:18:35 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-07 10:42:10 +0900 |
commit | dbfb3b1917dbe89816ffeea6046d2743c32bf6b6 (patch) | |
tree | 3b482fcf954e86c100f09d1e30f1e156092414f0 /internal/string.h | |
parent | cfcf33f1270f78c5fb928d7a0927e6be02ec8900 (diff) | |
download | ruby-dbfb3b1917dbe89816ffeea6046d2743c32bf6b6.tar.gz |
[ruby/rdoc] Allow boolean arguments to `rb_attr` and `rb_define_attr`
Currently only literal `0` and `1` are accepted as `read`/`write`
flags.
This patch allows other boolean arguments, C macros (`FALSE`/`TRUE`),
Ruby `VALUE`s (`Qfalse`/`Qtrue`), and C99 `bool`s (`false`/`true`), as
well.
https://github.com/ruby/rdoc/commit/169dc02e3c
Diffstat (limited to 'internal/string.h')
0 files changed, 0 insertions, 0 deletions