7 # if SIZEOF_SIZE_T == SIZEOF_INT 8 # define TYPE_SSIZE_T TYPE_INT 9 # elif SIZEOF_SIZE_T == SIZEOF_LONG 10 # define TYPE_SSIZE_T TYPE_LONG 11 # elif defined HAVE_LONG_LONG && SIZEOF_SIZE_T == SIZEOF_LONG_LONG 12 # define TYPE_SSIZE_T TYPE_LONG_LONG 15 #define TYPE_SIZE_T (-1*SIGNEDNESS_OF_SIZE_T*TYPE_SSIZE_T) 17 #ifndef TYPE_PTRDIFF_T 18 # if SIZEOF_PTRDIFF_T == SIZEOF_INT 19 # define TYPE_PTRDIFF_T TYPE_INT 20 # elif SIZEOF_PTRDIFF_T == SIZEOF_LONG 21 # define TYPE_PTRDIFF_T TYPE_LONG 22 # elif defined HAVE_LONG_LONG && SIZEOF_PTRDIFF_T == SIZEOF_LONG_LONG 23 # define TYPE_PTRDIFF_T TYPE_LONG_LONG 28 # if SIZEOF_INTPTR_T == SIZEOF_INT 29 # define TYPE_INTPTR_T TYPE_INT 30 # elif SIZEOF_INTPTR_T == SIZEOF_LONG 31 # define TYPE_INTPTR_T TYPE_LONG 32 # elif defined HAVE_LONG_LONG && SIZEOF_INTPTR_T == SIZEOF_LONG_LONG 33 # define TYPE_INTPTR_T TYPE_LONG_LONG 36 #define TYPE_UINTPTR_T (-TYPE_INTPTR_T)
VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super)
Defines a class under the namespace of outer.
void Init_fiddle_handle(void)
void Init_fiddle_pointer(void)
void rb_define_const(VALUE, const char *, VALUE)
void rb_define_module_function(VALUE module, const char *name, VALUE(*func)(ANYARGS), int argc)
Defines a module function for module.
VALUE rb_fiddle_ptr2value(VALUE self, VALUE addr)
void * ruby_xrealloc(void *ptr, size_t new_size)
void * ruby_xmalloc(size_t size)
void Init_fiddle_closure(void)
VALUE rb_define_module(const char *name)
void Init_fiddle_function(void)
VALUE rb_fiddle_free(VALUE self, VALUE addr)