diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-19 10:38:30 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:50 +0900 |
| commit | caee1f68a200d9df1831c4cf0e1954482c317474 (patch) | |
| tree | e2417d71bdda57a90497bc3a25dd7dcfaeffc11f /src/string.c | |
| parent | a4302524d06c2b63617285286dcf41b5a45baf75 (diff) | |
| download | mruby-caee1f68a200d9df1831c4cf0e1954482c317474.tar.gz mruby-caee1f68a200d9df1831c4cf0e1954482c317474.zip | |
Change the return type of `mrb_check_intern()` and friends.
They used to return `mrb_value` but now return `mrb_sym` for consistency
with other `intern` functions. If symbols are not defined, `check`
functions return `0`, instead of `nil` in the past.
It causes API incompatibility but I believe few people use those
functions out of the core, and those changes are very easy to handle,
hopefully.
Diffstat (limited to 'src/string.c')
0 files changed, 0 insertions, 0 deletions
