mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Implement a reset in apps (clear memory)
Change-Id: I158d5db92196ccfd5400a95de16ee4804e426e65
This commit is contained in:
@@ -62,4 +62,10 @@ int FunctionStore::numberOfDefinedFunctions() {
|
||||
return result;
|
||||
}
|
||||
|
||||
void FunctionStore::removeAll() {
|
||||
for (int i = 0; i < numberOfFunctions(); i++) {
|
||||
removeFunction(functionAtIndex(i));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user