Sha256: 56eb1bc687b20e302a307ecbeea545060da1e868dac48db34c53e97f210dce9a
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 Bytes
Contents
#include <rice/rice.hpp> #include <rice/stl.hpp> #include "bayestest.hpp" using bayestest::BinaryTest; extern "C" void Init_ext() { auto rb_mFieldTest = Rice::define_module("FieldTest"); Rice::define_class_under<BinaryTest>(rb_mFieldTest, "BinaryTest") .define_constructor(Rice::Constructor<BinaryTest>()) .define_method("add", &BinaryTest::add) .define_method("probabilities", &BinaryTest::probabilities); }
Version data entries
7 entries across 7 versions & 1 rubygems