#include <set>
#include <map>
#include <ruby.h>
#include <ruby/intern.h>
Go to the source code of this file.
Classes | |
struct | WeakRef |
Typedefs | |
typedef map< VALUE, VALUE > | ObjFromRefID |
typedef set< VALUE > | ObjSet |
typedef map< VALUE, ObjSet > | RefFromObjID |
Functions | |
static VALUE | do_object_finalize (VALUE mod, VALUE obj_id) |
static WeakRef & | get_weakref (VALUE self) |
void | Init_weakref (VALUE mUtilrb) |
static VALUE | refcount (VALUE mod, VALUE obj) |
static VALUE | weakref_alloc (VALUE klass) |
static VALUE | weakref_do_initialize (VALUE self, VALUE obj) |
static void | weakref_free (WeakRef const *ref) |
static VALUE | weakref_get (VALUE self) |
Variables | |
static VALUE | cRefError |
static VALUE | cWeakRef |
RefFromObjID | from_obj_id |
ObjFromRefID | from_ref_id |
typedef map< VALUE, VALUE > ObjFromRefID |
Definition at line 26 of file weakref.cc.
typedef set<VALUE> ObjSet |
Definition at line 24 of file weakref.cc.
typedef map< VALUE, ObjSet > RefFromObjID |
Definition at line 25 of file weakref.cc.
static VALUE do_object_finalize | ( | VALUE | mod, |
VALUE | obj_id | ||
) | [static] |
Definition at line 58 of file weakref.cc.
static WeakRef& get_weakref | ( | VALUE | self | ) | [static] |
Definition at line 51 of file weakref.cc.
void Init_weakref | ( | VALUE | mUtilrb | ) |
Definition at line 132 of file weakref.cc.
static VALUE refcount | ( | VALUE | mod, |
VALUE | obj | ||
) | [static] |
Definition at line 120 of file weakref.cc.
static VALUE weakref_alloc | ( | VALUE | klass | ) | [static] |
Definition at line 43 of file weakref.cc.
static VALUE weakref_do_initialize | ( | VALUE | self, |
VALUE | obj | ||
) | [static] |
Definition at line 88 of file weakref.cc.
static void weakref_free | ( | WeakRef const * | ref | ) | [static] |
Definition at line 30 of file weakref.cc.
static VALUE weakref_get | ( | VALUE | self | ) | [static] |
Definition at line 109 of file weakref.cc.
VALUE cRefError [static] |
Definition at line 14 of file weakref.cc.
VALUE cWeakRef [static] |
Definition at line 13 of file weakref.cc.
Definition at line 27 of file weakref.cc.
Definition at line 28 of file weakref.cc.