Sha256: 53ab0addfe42b86d5bfdd7a0a48d105b47d4b833348395019d3e0b4c73f4896b

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

#include "/media/file_server/file_drive/projects/esruby/esruby-esruby/include/esruby.hpp"

// we need to load the esruby bindings here, see issue:
//   https://github.com/kripken/emscripten/issues/5537
// although you can observe that the bindings in esruby-bind do work
//   so im not sure what the problem is
// idealy i would like to use a compiler option like EXPORTED_FUNCTIONS, for classes
EMSCRIPTEN_BINDINGS(esruby)
{
  emscripten::class_<ESRuby>("ESRuby")
    .class_function("start", &ESRuby::start)
    .class_function("stop", &ESRuby::stop)
  ;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
esruby-0.1.3 resources/cpp/main.cpp
esruby-0.1.2 resources/cpp/main.cpp
esruby-0.1.1 resources/cpp/main.cpp
esruby-0.1.0 resources/cpp/main.cpp
esruby-0.0.11 resources/cpp/main.cpp
esruby-0.0.10 resources/cpp/main.cpp