MCPcopy Create free account
hub / github.com/CleverRaven/Cataclysm-DDA / capture_debugmsg_during

Function capture_debugmsg_during

src/debug.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174};
175
176std::string capture_debugmsg_during( const std::function<void()> &func )
177{
178 capture_debugmsg capture;
179 func();
180 return capture.dmsg();
181}
182
183capture_debugmsg::capture_debugmsg()
184{

Calls 1

dmsgMethod · 0.80