Top Level Namespace

Defined Under Namespace

Modules: Mmapper

Constant Summary collapse

LIB_DIR =
File.expand_path(File.dirname(__FILE__))
LIB_NAME =

Detect OS and set correct library name

case RUBY_PLATFORM
when /darwin/ then "libmmapper.dylib"
when /mingw|mswin/ then "mmapper.dll"
else "libmmapper.so"
end
LIB_PATH =
File.join(LIB_DIR, LIB_NAME)