summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorDavid Siaw <[email protected]>2019-08-26 02:08:33 +0900
committerDavid Siaw <[email protected]>2019-08-26 02:08:33 +0900
commit6375639917a913c542967b33be01003a2b67c144 (patch)
tree644a637d60bfc1c7cd2fd2bb657a08bf5dc397b5 /src/class.c
parente1e96c0cf480930f33dcb4355f38244319ce0e37 (diff)
downloadmruby-6375639917a913c542967b33be01003a2b67c144.tar.gz
mruby-6375639917a913c542967b33be01003a2b67c144.zip
fix lots of warnings and make logo not so big
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index 43540dc3b..2be56a004 100644
--- a/src/class.c
+++ b/src/class.c
@@ -409,7 +409,7 @@ mrb_module_get(mrb_state *mrb, const char *name)
/*!
* Defines a class under the namespace of \a outer.
* \param outer a class which contains the new class.
- * \param id name of the new class
+ * \param name name of the new class
* \param super a class from which the new class will derive.
* NULL means \c Object class.
* \return the created class
@@ -1769,6 +1769,7 @@ mrb_alias_method(mrb_state *mrb, struct RClass *c, mrb_sym a, mrb_sym b)
/*!
* Defines an alias of a method.
+ * \param mrb the mruby state
* \param klass the class which the original method belongs to
* \param name1 a new name for the method
* \param name2 the original name of the method