MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / construct_with_6

Function construct_with_6

test/embind/embind_test.cpp:3075–3083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3073}
3074
3075val construct_with_6(val factory) {
3076 unsigned char a1 = 6;
3077 double a2 = -12.5;
3078 std::string a3("a3");
3079 StructVector a4(1, 2, 3, 4);
3080 EnumClass a5 = EnumClass::TWO;
3081 TupleVector a6(-1, -2, -3, -4);
3082 return factory.new_(a1, a2, a3, a4, a5, a6);
3083}
3084
3085val construct_with_memory_view(val factory) {
3086 static const char data[11] = "0123456789";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected