MCPcopy Create free account
hub / github.com/audeering/opensmile / AddMessage

Method AddMessage

src/newmat/myexcept.cpp:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void BaseException::AddMessage(const char* a_what)
74{
75 if (a_what)
76 {
77 int l = strlen(a_what); int r = LastOne - SoFar;
78 if (l < r) { strcpy(what_error+SoFar, a_what); SoFar += l; }
79 else if (r > 0)
80 {
81 strncpy(what_error+SoFar, a_what, r);
82 what_error[LastOne] = 0;
83 SoFar = LastOne;
84 }
85 }
86}
87
88void BaseException::AddInt(int value)
89{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected