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

Class RefUser

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

Source from the content-addressed store, hash-verified

77};
78
79struct RefUser {
80 int value;
81 RefUser(int x = 77) : value(x) {}
82 int getValue(RefUser b) { return b.value; }
83 RefUser &getMe() { return *this; }
84 RefUser getCopy() { return RefUser(value*2); }
85 StringUser getAnother() { return StringUser("another", 5); }
86};
87
88struct VoidPointerUser {
89 void *ptr;

Callers 1

getCopyMethod · 0.85

Calls

no outgoing calls

Tested by 1

getCopyMethod · 0.68