mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Setting up doxygen groups
This commit is contained in:
+12
-6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user