Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Data Structures | |
struct | nogvl_ffi_call_args |
Macros | |
#define | RB_OBJ_CLASSNAME(obj) rb_obj_class(obj) |
#define | RB_OBJ_STRING(obj) (obj) |
#define | MAX_ARGS (SIZE_MAX / (sizeof(void *) + sizeof(fiddle_generic)) - 1) |
#define | Check_Max_Args(name, len) Check_Max_Args_(name, len, "") |
#define | Check_Max_Args_Long(name, len) Check_Max_Args_(name, len, "l") |
#define | Check_Max_Args_(name, len, fmt) |
Functions | |
VALUE | rb_fiddle_new_function (VALUE address, VALUE arg_types, VALUE ret_type) |
void | Init_fiddle_function (void) |
Variables | |
VALUE | cFiddleFunction |
const rb_data_type_t | function_data_type |
#define Check_Max_Args | ( | name, | |
len | |||
) | Check_Max_Args_(name, len, "") |
Definition at line 17 of file function.c.
Definition at line 21 of file function.c.
#define Check_Max_Args_Long | ( | name, | |
len | |||
) | Check_Max_Args_(name, len, "l") |
Definition at line 19 of file function.c.
#define MAX_ARGS (SIZE_MAX / (sizeof(void *) + sizeof(fiddle_generic)) - 1) |
Definition at line 15 of file function.c.
#define RB_OBJ_CLASSNAME | ( | obj | ) | rb_obj_class(obj) |
Definition at line 5 of file function.c.
#define RB_OBJ_STRING | ( | obj | ) | (obj) |
Definition at line 6 of file function.c.
void Init_fiddle_function | ( | void | ) |
Definition at line 232 of file function.c.
References cFiddleFunction, INT2NUM, mFiddle, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), and rb_define_const().
Definition at line 67 of file function.c.
References argv, cFiddleFunction, and rb_class_new_instance().
VALUE cFiddleFunction |
Definition at line 13 of file function.c.
Referenced by Init_fiddle_function(), and rb_fiddle_new_function().
const rb_data_type_t function_data_type |
Definition at line 53 of file function.c.