Sha256: 45791346edb8d272832806e55db00529d06d7c62fa0b015cb4e9cd0c62280d4c
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 Bytes
Contents
module ThunderSVM module FFI extend Fiddle::Importer libs = Array(ThunderSVM.ffi_lib).dup begin dlload Fiddle.dlopen(libs.shift) rescue Fiddle::DLError => e retry if libs.any? raise e end extern "void thundersvm_train(int argc, char **argv)" extern "void thundersvm_train_after_parse(char **option, int len, char *file_name)" extern "void thundersvm_predict(int argc, char **argv)" extern "void thundersvm_predict_after_parse(char *model_file_name, char *output_file_name, char **option, int len)" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thundersvm-0.1.3 | lib/thundersvm/ffi.rb |