summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-07 09:18:35 +0900
committergit <svn-admin@ruby-lang.org>2022-06-07 10:42:10 +0900
commitdbfb3b1917dbe89816ffeea6046d2743c32bf6b6 (patch)
tree3b482fcf954e86c100f09d1e30f1e156092414f0 /error.c
parentcfcf33f1270f78c5fb928d7a0927e6be02ec8900 (diff)
[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 'error.c')
0 files changed, 0 insertions, 0 deletions