mruby  2.0.1
mruby is the lightweight implementation of the Ruby language
Classes | Macros | Typedefs | Enumerations | Functions
gc.h File Reference

More...

#include "common.h"
Include dependency graph for gc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mrb_heap_page
 
struct  mrb_gc
 

Macros

#define MRB_EACH_OBJ_OK   0
 
#define MRB_EACH_OBJ_BREAK   1
 
#define MRB_GC_ARENA_SIZE   100
 

Typedefs

typedef int() mrb_each_object_callback(struct mrb_state *mrb, struct RBasic *obj, void *data)
 
typedef struct mrb_heap_page mrb_heap_page
 
typedef struct mrb_gc mrb_gc
 

Enumerations

enum  mrb_gc_state { MRB_GC_STATE_ROOT = 0, MRB_GC_STATE_MARK, MRB_GC_STATE_SWEEP }
 

Functions

void mrb_objspace_each_objects (struct mrb_state *mrb, mrb_each_object_callback *callback, void *data)
 
void mrb_free_context (struct mrb_state *mrb, struct mrb_context *c)
 
mrb_bool mrb_object_dead_p (struct mrb_state *mrb, struct RBasic *object)
 

Detailed Description

See Copyright Notice in mruby.h