MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / Error

Method Error

src/server/angelscript/angelscript/source/as_restore.cpp:127–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int asCReader::Error(const char *msg)
128{
129 // Don't write if it has already been reported an error earlier
130 if( !error )
131 {
132 asCString str;
133 str.Format(msg, bytesRead);
134 engine->WriteMessage("", 0, 0, asMSGTYPE_ERROR, str.AddressOf());
135 error = true;
136 }
137
138 return asERROR;
139}
140
141int asCReader::ReadInner()
142{

Callers 1

AdjustOffsetMethod · 0.45

Calls 3

WriteMessageMethod · 0.80
FormatMethod · 0.45
AddressOfMethod · 0.45

Tested by

no test coverage detected