MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / qstringToMallocCharArray

Function qstringToMallocCharArray

CrashReporter/CallbacksManager.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141static char*
142qstringToMallocCharArray(const QString& str)
143{
144 std::string stdStr = str.toStdString();
145
146 return strndup_replacement(stdStr.c_str(), stdStr.size() + 1);
147}
148
149static void
150handleChildDeadSignal( int /*signalId*/ )

Callers 1

initInternalMethod · 0.85

Calls 3

strndup_replacementFunction · 0.85
toStdStringMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected