Go to the source code of this file.
Classes | |
struct | MemoryTableEntry |
struct | MemoryZone |
struct | RbMemoryLayout |
Typedefs | |
typedef std::map< void const *, void const * > | MemoryTypes |
typedef long | st_index_t |
typedef std::map< void const *, RbMemoryLayout > | TypeLayouts |
Functions | |
static VALUE | memory_aref (void *ptr) |
static void | memory_aset (void *ptr, VALUE obj, bool owned, void *root_ptr) |
static int | memory_table_compare (void *a, void *b) |
static st_index_t | memory_table_hash (void *a) |
static void | memory_touch_all () |
static int | memory_touch_i (volatile void *ptr, MemoryTableEntry *entry, st_data_t) |
static MemoryZone * | memory_zone (VALUE ptr) |
static VALUE | memory_zone_address (VALUE self) |
static VALUE | memory_zone_invalidate (VALUE self) |
static VALUE | memory_zone_table_size (VALUE self) |
static VALUE | memory_zone_to_ptr (VALUE self) |
static void | memory_zone_unref (MemoryZone *ptr) |
static VALUE | string_to_memory_ptr (VALUE self) |
Variables | |
static VALUE | cMemoryZone |
TypeLayouts | memory_layouts |
static struct st_hash_type | memory_table_type |
MemoryTypes | memory_types |
static st_table * | MemoryTable |
typedef std::map< void const*, void const* > MemoryTypes |
typedef long st_index_t |
typedef std::map< void const*, RbMemoryLayout > TypeLayouts |
static VALUE memory_aref | ( | void * | ptr | ) | [static] |
static void memory_aset | ( | void * | ptr, |
VALUE | obj, | ||
bool | owned, | ||
void * | root_ptr | ||
) | [static] |
static int memory_table_compare | ( | void * | a, |
void * | b | ||
) | [static] |
static st_index_t memory_table_hash | ( | void * | a | ) | [static] |
static void memory_touch_all | ( | ) | [static] |
static int memory_touch_i | ( | volatile void * | ptr, |
MemoryTableEntry * | entry, | ||
st_data_t | |||
) | [static] |
static MemoryZone* memory_zone | ( | VALUE | ptr | ) | [static] |
static VALUE memory_zone_address | ( | VALUE | self | ) | [static] |
static VALUE memory_zone_invalidate | ( | VALUE | self | ) | [static] |
static VALUE memory_zone_table_size | ( | VALUE | self | ) | [static] |
static VALUE memory_zone_to_ptr | ( | VALUE | self | ) | [static] |
static void memory_zone_unref | ( | MemoryZone * | ptr | ) | [static] |
static VALUE string_to_memory_ptr | ( | VALUE | self | ) | [static] |
VALUE cMemoryZone [static] |
struct st_hash_type memory_table_type [static] |
{ (int (*)())memory_table_compare, (int (*)())memory_table_hash }
st_table* MemoryTable [static] |