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

Method constructor

src/lib/libexceptions.js:27–29  ·  view source on GitHub ↗
(excPtr)

Source from the content-addressed store, hash-verified

25 $ExceptionInfo: class {
26 // excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
27 constructor(excPtr) {
28 this.excPtr = excPtr;
29 this.ptr = excPtr - {{{ C_STRUCTS.__cxa_exception.__size__ }}};
30 }
31
32 set_type(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected