Sha256: b145faf90043a2f4581c6dc7bc24919a5b64e0ca359e8ef5dcc7bfb0f965d8f4
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
#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, but for classes EMSCRIPTEN_BINDINGS(esruby) { emscripten::class_<ESRuby>("ESRuby") .class_function("start", &ESRuby::start) .class_function("stop", &ESRuby::stop) ; }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
esruby-0.2.0 | resources/cpp/main.cpp |
esruby-0.1.5 | resources/cpp/main.cpp |
esruby-0.1.4 | resources/cpp/main.cpp |