diff options
Diffstat (limited to 'ext/dl/dl_conversions.h')
-rw-r--r-- | ext/dl/dl_conversions.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/dl/dl_conversions.h b/ext/dl/dl_conversions.h new file mode 100644 index 0000000000..13c904733d --- /dev/null +++ b/ext/dl/dl_conversions.h @@ -0,0 +1,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 |