arudradey's picture
download
raw
355 Bytes
#include <emscripten/bind.h>
using namespace emscripten;
class HelloClass {
public:
static std::string SayHello(const std::string &name) {
return "Yo! " + name;
};
};
EMSCRIPTEN_BINDINGS(Hello) {
emscripten::class_<HelloClass>("HelloClass")
.constructor<>()
.class_function("SayHello", &HelloClass::SayHello);
}

Xet Storage Details

Size:
355 Bytes
·
Xet hash:
6c31c01a47a9299276dc8bea0602119de689ae9314db9ff94826b3446556f024

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.