summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorTatsuhiko Kubo <[email protected]>2014-08-28 12:04:40 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-29 01:06:22 +0900
commit5fa30aeaea5a5886557274cbbbacf4e046b7e03e (patch)
tree6b5944a953503ce7bf4d5bc4e1d8ab0a170c829d /src/class.c
parentabd7cad4fd261c9ceba2dccfbf91c3a38a19b00e (diff)
downloadmruby-5fa30aeaea5a5886557274cbbbacf4e046b7e03e.tar.gz
mruby-5fa30aeaea5a5886557274cbbbacf4e046b7e03e.zip
Fix mismatches for MRB_API declarations.
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class.c b/src/class.c
index d3a2403f1..91ee711bc 100644
--- a/src/class.c
+++ b/src/class.c
@@ -958,7 +958,7 @@ mrb_mod_dummy_visibility(mrb_state *mrb, mrb_value mod)
return mod;
}
-mrb_value
+MRB_API mrb_value
mrb_singleton_class(mrb_state *mrb, mrb_value v)
{
struct RBasic *obj;
@@ -1409,7 +1409,7 @@ mrb_alias_method(mrb_state *mrb, struct RClass *c, mrb_sym a, mrb_sym b)
* \param name1 a new name for the method
* \param name2 the original name of the method
*/
-void
+MRB_API void
mrb_define_alias(mrb_state *mrb, struct RClass *klass, const char *name1, const char *name2)
{
mrb_alias_method(mrb, klass, mrb_intern_cstr(mrb, name1), mrb_intern_cstr(mrb, name2));