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

Method ClearAll

sdk/angelscript/source/as_bytecode.cpp:85–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void asCByteCode::ClearAll()
86{
87 asCByteInstruction *del = first;
88
89 while( del )
90 {
91 first = del->next;
92 engine->memoryMgr.FreeByteInstruction(del);
93 del = first;
94 }
95
96 first = 0;
97 last = 0;
98
99 lineNumbers.SetLength(0);
100
101 largestStackUsed = -1;
102}
103
104void asCByteCode::InsertIfNotExists(asCArray<int> &vars, int var)
105{

Callers 2

ResetMethod · 0.45
ClearMethod · 0.45

Calls 2

FreeByteInstructionMethod · 0.80
SetLengthMethod · 0.45

Tested by

no test coverage detected