MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / wrapper

Method wrapper

drd/tests/annotate_smart_pointer.cpp:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 void* m_arg;
97 };
98 static unsigned int __stdcall wrapper(void* arg)
99 {
100 WrapperArgs* wrapper_arg_p = reinterpret_cast<WrapperArgs*>(arg);
101 WrapperArgs wa = *wrapper_arg_p;
102 delete wrapper_arg_p;
103 return reinterpret_cast<unsigned>((wa.m_pf)(wa.m_arg));
104 }
105 HANDLE m_thread;
106};
107

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected