summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-02-05 14:20:58 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-02-06 22:07:11 +0900
commit905fef2669f4dd0efb71205219872d9fb4b135b6 (patch)
tree2007829229cf4eaad06041d0f9c69e90aa4911cf /src/class.c
parent02fbb2c21134ad0e8df0b723a4b11f7d7e21edcd (diff)
downloadmruby-905fef2669f4dd0efb71205219872d9fb4b135b6.tar.gz
mruby-905fef2669f4dd0efb71205219872d9fb4b135b6.zip
Reduce invocation of `mrb_convert_type()` from `mrb_str_to_str()`.
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index dd5b65cc3..359bb4fea 100644
--- a/src/class.c
+++ b/src/class.c
@@ -1815,7 +1815,7 @@ mrb_define_alias(mrb_state *mrb, struct RClass *klass, const char *name1, const
* show information on the thing we're attached to as well.
*/
-static mrb_value
+mrb_value
mrb_mod_to_s(mrb_state *mrb, mrb_value klass)
{
mrb_value str;