diff options
| author | dearblue <[email protected]> | 2020-04-29 16:57:25 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2020-04-29 16:59:16 +0900 |
| commit | 49b2e8c3a9ef9a0ba115c000327c0bcd62911e44 (patch) | |
| tree | 51e2fd4a413ca848690d0606f11b890f788ed4c8 /include | |
| parent | e2ac2a82a5c344de3369a6f988ec40bb5510ab45 (diff) | |
| download | mruby-49b2e8c3a9ef9a0ba115c000327c0bcd62911e44.tar.gz mruby-49b2e8c3a9ef9a0ba115c000327c0bcd62911e44.zip | |
Makes `mrb_any_to_s()` accept an object whose class is `NULL`
When using `mrb_any_to_s()` for debugging purposes, giving an object
whose class is `NULL` no longer causes a SIGSEGV and no crash.
This is achieved by making `mrb_class_name()` and `mrb_str_cat_cstr()`
null safe.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
