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

Method TestLineNumber

sdk/tests/test_feature/source/test_debug.cpp:298–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296{
297public:
298void *TestLineNumber()
299{
300 asIScriptContext *ctx = asGetActiveContext();
301 const char *script_section;
302 /*int line =*/ ctx->GetLineNumber(0, 0, &script_section);
303 assert( std::string(script_section) == "a" );
304 return 0;
305}
306};
307
308int& foo_opAssign(int val, int* _this)

Callers

nothing calls this directly

Calls 1

GetLineNumberMethod · 0.45

Tested by

no test coverage detected