MCPcopy Create free account
hub / github.com/anjo76/angelscript / WriteWarning

Method WriteWarning

sdk/angelscript/source/as_builder.cpp:6047–6056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6045}
6046
6047void asCBuilder::WriteWarning(const asCString &scriptname, const asCString &message, int r, int c)
6048{
6049 if( engine->ep.compilerWarnings )
6050 {
6051 numWarnings++;
6052
6053 if( !silent )
6054 engine->WriteMessage(scriptname.AddressOf(), r, c, asMSGTYPE_WARNING, message.AddressOf());
6055 }
6056}
6057
6058void asCBuilder::WriteWarning(const asCString &message, asCScriptCode *file, asCScriptNode *node)
6059{

Callers 2

WarningMethod · 0.80
WarningMethod · 0.80

Calls 4

asCStringClass · 0.85
WriteMessageMethod · 0.80
ConvertPosToRowColMethod · 0.80
AddressOfMethod · 0.45

Tested by

no test coverage detected