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

Version Path
field_test-0.7.0 ext/field_test/ext.cpp
field_test-0.6.1 ext/field_test/ext.cpp
field_test-0.6.0 ext/field_test/ext.cpp
field_test-0.5.5 ext/field_test/ext.cpp
field_test-0.5.4 ext/field_test/ext.cpp
field_test-0.5.3 ext/field_test/ext.cpp
field_test-0.5.2 ext/field_test/ext.cpp