$search

weakref.cc File Reference

#include <set>
#include <map>
#include <ruby.h>
#include <intern.h>
Include dependency graph for weakref.cc:

Go to the source code of this file.

Classes

struct  WeakRef

Typedefs

typedef map< VALUE, VALUE > ObjFromRefID
typedef set< VALUE > ObjSet
typedef map< VALUE, ObjSetRefFromObjID

Functions

static VALUE do_object_finalize (VALUE mod, VALUE obj_id)
static WeakRefget_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 Documentation

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.


Function Documentation

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.


Variable Documentation

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


utilrb
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Fri Mar 1 16:28:40 2013