29 function(
"_privateFunction", optional_override([](
int x,
int y)->
size_t {
37 TS_EXPORT(
"publicFunction(input: string): void")
38 function(
"publicFunction", optional_override([](std::string
s)->
void {
39 printf(
"Hello %s\n",
s.c_str());
45 class_<Something>(
"Something")
51 .constructor<std::string>()
#define TS_PRIVATE_EXPORT(ts_code)
#define TS_EXPORT(ts_code)
const std::string getName()
void setName(std::string name)
Dart_NativeFunction function
std::string printf(const char *fmt,...) SK_PRINTF_LIKE(1
DEF_SWITCHES_START aot vmservice shared library name
EMSCRIPTEN_BINDINGS(Core)