MCPcopy Create free account
hub / github.com/bytecodealliance/ComponentizeJS / core_ty_str

Function core_ty_str

embedding/embedding.cpp:477–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477const char *core_ty_str(CoreVal ty) {
478 switch (ty) {
479 case CoreVal::I32:
480 return "i32";
481 case CoreVal::I64:
482 return "i64";
483 case CoreVal::F32:
484 return "f32";
485 case CoreVal::F64:
486 return "f64";
487 }
488}
489
490// Note requires an AutoRealm
491bool ReportAndClearException(JSContext *cx) {

Callers 1

callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected