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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user