1 2 3 4 5 6 7 8 9 10
#ifndef DL_CONVERSIONS #define DL_CONVERSIONS #include <dl.h> #define DL2FFI_TYPE(a) rb_dl_type_to_ffi_type(a) ffi_type * rb_dl_type_to_ffi_type(int dl_type); #endif