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

Class C

sdk/angelscript/source/as_scriptfunction.cpp:858–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856 lineNbrs.PushLast(scriptData->lineNumbers[n]&0xFFFFF);
857
858 struct C
859 {
860 static int cmp(const void *a, const void *b) { return *(int*)a - *(int*)b; }
861 };
862 std::qsort(&lineNbrs[0], lineNbrs.GetLength(), sizeof(int), C::cmp);
863
864 if( line < lineNbrs[0] && line < (scriptData->declaredAt&0xFFFFF)) return -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected