Module: XLSXDrone::NativeBinding

Extended by:
FFI::Library
Defined in:
lib/xlsx_drone/native_binding.rb

Overview

All things related to the binding with the native C library.

Defined Under Namespace

Classes: XLSXCellT, XLSXCellValue, XLSXReferenceToRowT, XLSXSheetT, XLSXStyleT, XLSXWorkbookT

Constant Summary collapse

PLATFORM_WINDOWS =
RUBY_PLATFORM.match(/cygwin|mswin|mingw|bccwin|wince|emx/) ? true : false
PLATFORM_X64 =
RUBY_PLATFORM.match(/64/) ? true : false
EXT_PATH =
"#{File.dirname(File.dirname(File.dirname(__FILE__)))}/ext"
DLL_PATH =
PLATFORM_WINDOWS ? (PLATFORM_X64 ? "#{EXT_PATH}/xlsx_drone_x64.dll" : "#{EXT_PATH}/xlsx_drone_x86.dll") : "#{EXT_PATH}/libxlsx_drone_x64.so"