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_VARIABLE_H
#define MRUBY_VARIABLE_H
#if defined(__cplusplus)
extern "C" {
#endif
#include "mruby/common.h"
/**
* @file mruby/variable.h
* @brief Functions to access mruby variables.
* @defgroup mrb_variable Functions to access to mruby variables.
* @ingroup MRuby
* @{
*/
MRB_BEGIN_DECL
typedef struct global_variable {
int counter;
@@ -74,8 +81,7 @@ void mrb_gc_mark_iv(mrb_state*, struct RObject*);
size_t mrb_gc_mark_iv_size(mrb_state*, struct RObject*);
void mrb_gc_free_iv(mrb_state*, struct RObject*);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
/** @} */
MRB_END_DECL
#endif /* MRUBY_VARIABLE_H */