diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-09-25 21:46:26 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-09-25 23:52:00 +0900 |
| commit | a365f9a67d4bf082ee9a414fe247bd18148d7081 (patch) | |
| tree | 83a9b4aaf39757b26093eb09951785d447893eda /mrbgems/mruby-struct | |
| parent | 3c1a2612e739a73c4c1be090aecfcbd2e9c0a7f8 (diff) | |
| download | mruby-a365f9a67d4bf082ee9a414fe247bd18148d7081.tar.gz mruby-a365f9a67d4bf082ee9a414fe247bd18148d7081.zip | |
Rename symbol-to-string functions; close #4684
* mrb_sym2name -> mrb_sym_name
* mrb_sym2name_len -> mrb_sym_name_len
* mrb_sym2str -> mrb_sym_str
Diffstat (limited to 'mrbgems/mruby-struct')
| -rw-r--r-- | mrbgems/mruby-struct/src/struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c index ebe711ed3..2d82c2466 100644 --- a/mrbgems/mruby-struct/src/struct.c +++ b/mrbgems/mruby-struct/src/struct.c @@ -132,7 +132,7 @@ mrb_id_attrset(mrb_state *mrb, mrb_sym id) mrb_sym mid; char onstack[ONSTACK_ALLOC_MAX]; - name = mrb_sym2name_len(mrb, id, &len); + name = mrb_sym_name_len(mrb, id, &len); if (len > ONSTACK_STRLEN_MAX) { buf = (char *)mrb_malloc(mrb, (size_t)len+1); } |
