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

Function ExceptionObj

sdk/tests/test_feature/source/test_exceptionmemory.cpp:174–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174CObject ExceptionObj()
175{
176 asIScriptContext *ctx = asGetActiveContext();
177 if( ctx ) ctx->SetException("application exception");
178
179 return CObject();
180}
181
182void ExceptionObj_gen(asIScriptGeneric *gen)
183{

Callers

nothing calls this directly

Calls 2

SetExceptionMethod · 0.80
CObjectClass · 0.70

Tested by

no test coverage detected