Ruby  1.9.3p551(2014-11-13revision48407)
Functions | Variables
function.c File Reference
#include <fiddle.h>

Go to the source code of this file.

Functions

static void deallocate (void *p)
 
static size_t function_memsize (const void *p)
 
static VALUE allocate (VALUE klass)
 
static VALUE initialize (int argc, VALUE argv[], VALUE self)
 
static VALUE function_call (int argc, VALUE argv[], VALUE self)
 
void Init_fiddle_function (void)
 

Variables

VALUE cFiddleFunction
 
const rb_data_type_t function_data_type
 

Function Documentation

static VALUE allocate ( VALUE  klass)
static

Definition at line 34 of file function.c.

References TypedData_Make_Struct.

Referenced by Init_fiddle_function().

static void deallocate ( void p)
static

Definition at line 6 of file function.c.

References p, ptr, and xfree.

static VALUE function_call ( int  argc,
VALUE  argv[],
VALUE  self 
)
static
static size_t function_memsize ( const void p)
static

Definition at line 14 of file function.c.

References ptr, and size.

void Init_fiddle_function ( void  )
static VALUE initialize ( int  argc,
VALUE  argv[],
VALUE  self 
)
static

Variable Documentation

VALUE cFiddleFunction

Definition at line 3 of file function.c.

Referenced by Init_fiddle_function().

const rb_data_type_t function_data_type
Initial value:
= {
"fiddle/function",
}
static void deallocate(void *p)
Definition: function.c:6
static size_t function_memsize(const void *p)
Definition: function.c:14

Definition at line 28 of file function.c.