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

Method Print

test/webidl/test.h:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 StringUser(const char *string="NO", int integer=99) : s(strdup(string)), i(integer) {}
71 ~StringUser() { free(s); }
72 void Print(int anotherInteger, char *anotherString) {
73 printf("|%s|%d|%s|%d|\n", s, i, anotherString, anotherInteger);
74 }
75 void PrintFloat(float f) { printf("%.2f\n", f); }
76 const char* returnAString() { return "a returned string"; }
77};

Callers 1

post.jsFile · 0.45

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected