MCPcopy Index your code
hub / github.com/NetHack/NetHack / nh_qsprintf

Function nh_qsprintf

win/Qt/qt_str.cpp:84–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84QString
85nh_qsprintf(const char *format, ...)
86{
87 QString msg;
88 std::va_list args;
89
90 va_start(args, format);
91#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
92 msg = QString::vasprintf(format, args);
93#else
94 msg.vsprintf(format, args);
95#endif
96 va_end(args);
97 return msg;
98}
99
100} // namespace nethack_qt_

Callers 12

tryloadFunction · 0.85
setLabelMethod · 0.85
HitpointBarMethod · 0.85
updateStatsMethod · 0.85
aboutMsgFunction · 0.85
doQuitMethod · 0.85
NetHackQtGlyphsMethod · 0.85
PadMenuColumnsMethod · 0.85
UpdateCountColumnMethod · 0.85
ToggleSelectMethod · 0.85
qt_display_fileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected