mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
27 lines
514 B
C
27 lines
514 B
C
#ifndef MRUBY_GC_H
|
|
#define MRUBY_GC_H
|
|
|
|
typedef struct {
|
|
union {
|
|
struct free_obj {
|
|
MRUBY_OBJECT_HEADER;
|
|
struct RBasic *next;
|
|
} free;
|
|
struct RBasic basic;
|
|
struct RObject object;
|
|
struct RClass klass;
|
|
struct RString string;
|
|
struct RArray array;
|
|
struct RHash hash;
|
|
struct RRange range;
|
|
struct RStruct structdata;
|
|
struct RProc procdata;
|
|
#ifdef INCLUDE_REGEXP
|
|
struct RMatch match;
|
|
struct RRegexp regexp;
|
|
#endif
|
|
} as;
|
|
} RVALUE;
|
|
|
|
#endif /* MRUBY_GC_H */
|