Setting up doxygen groups

This commit is contained in:
Seba Gamboa
2015-09-20 21:14:07 -03:00
parent f36944f551
commit c127614638
21 changed files with 312 additions and 145 deletions
+12 -6
View File
@@ -7,9 +7,16 @@
#ifndef MRUBY_ERROR_H
#define MRUBY_ERROR_H
#if defined(__cplusplus)
extern "C" {
#endif
#include "mruby/common.h"
/**
* @file mruby/error.h
* @brief Error handling.
* @defgroup mrb_error MRuby Error handling.
* @ingroup MRuby
* @{
*/
MRB_BEGIN_DECL
struct RException {
MRB_OBJECT_HEADER;
@@ -39,8 +46,7 @@ MRB_API mrb_value mrb_rescue_exceptions(mrb_state *mrb, mrb_func_t body, mrb_val
mrb_func_t rescue, mrb_value r_data,
mrb_int len, struct RClass **classes);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
/** @} */
MRB_END_DECL
#endif /* MRUBY_ERROR_H */