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

Method Callback

sdk/angelscript/source/as_outputbuffer.cpp:65–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void asCOutputBuffer::Callback(asSMessageInfo *msg)
66{
67 message_t *msgInfo = asNEW(message_t);
68 if( msgInfo == 0 )
69 return;
70
71 msgInfo->section = msg->section;
72 msgInfo->row = msg->row;
73 msgInfo->col = msg->col;
74 msgInfo->type = msg->type;
75 msgInfo->msg = msg->message;
76
77 messages.PushLast(msgInfo);
78}
79
80void asCOutputBuffer::Append(asCOutputBuffer &in)
81{

Callers 1

CDeclCallbackMethod · 0.45

Calls 1

PushLastMethod · 0.80

Tested by

no test coverage detected