Commit 0e5b8153 authored by Seba Gamboa's avatar Seba Gamboa

Document data header

parent dd925578
......@@ -11,14 +11,23 @@
/**
* @file mruby/data.h
* @defgroup mruby_data User defined objects.
* @defgroup mruby_data Custom C wrapped data.
*
* Defining Ruby wrappers around native objects.
*
* @ingroup mruby
* @{
*/
MRB_BEGIN_DECL
/**
* Custom data type description.
*/
typedef struct mrb_data_type {
/** data type name */
const char *struct_name;
/** data type release function pointer */
void (*dfree)(mrb_state *mrb, void*);
} mrb_data_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment