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

Method value_object

system/include/emscripten/bind.h:884–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882 typedef ClassType class_type;
883
884 value_object(const char* name) {
885 using namespace internal;
886
887 auto ctor = &raw_constructor<ClassType>;
888 auto dtor = &raw_destructor<ClassType>;
889
890 _embind_register_value_object(
891 TypeID<ClassType>::get(),
892 name,
893 getSignature(ctor),
894 reinterpret_cast<GenericFunction>(ctor),
895 getSignature(dtor),
896 reinterpret_cast<GenericFunction>(dtor));
897 }
898
899 ~value_object() {
900 using namespace internal;

Callers

nothing calls this directly

Calls 2

getSignatureFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected