summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-08-19 07:29:46 +0900
committerGitHub <[email protected]>2019-08-19 07:29:46 +0900
commitb5e2d208b9030290dffffa47f2591b19b731287d (patch)
treed604a4bc678fbf10708d71273dc6d8997093f7aa /include/mruby.h
parentfe8428b33bfb337dbaca4d0af917b386b550039f (diff)
parentb5299b1c5832a4eb9d6c6becfab76d76570c91ab (diff)
downloadmruby-b5e2d208b9030290dffffa47f2591b19b731287d.tar.gz
mruby-b5e2d208b9030290dffffa47f2591b19b731287d.zip
Merge pull request #4636 from davidsiaw/doxygen
Generate doxygen docs for mruby
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h
index b1b983f52..87ccd8c05 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -25,6 +25,10 @@
** [ MIT license: http://www.opensource.org/licenses/mit-license.php ]
*/
+/**
+ * @file mruby.h
+ */
+
#ifndef MRUBY_H
#define MRUBY_H
@@ -97,11 +101,14 @@ MRB_BEGIN_DECL
typedef uint8_t mrb_code;
/**
- * Required arguments signature type.
+ * \class mrb_aspec
+ *
+ * Specifies the number of arguments a function takes
+ *
+ * Example: `MRB_ARGS_REQ(2) | MRB_ARGS_OPT(1)` for a method that expects 2..3 arguments
*/
typedef uint32_t mrb_aspec;
-
struct mrb_irep;
struct mrb_state;