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

Method StringUser

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

Source from the content-addressed store, hash-verified

68 int i;
69public:
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);

Callers

nothing calls this directly

Calls 1

strdupFunction · 0.85

Tested by

no test coverage detected