[apps/shared] Add method in shared function store

Change-Id: I1b15ed95e7e9a5c4cffe303e5f699ec03ad87b45
This commit is contained in:
Émilie Feral
2017-02-07 10:53:36 +01:00
parent a6ee2c6ef0
commit 6cf5b9d317
5 changed files with 11 additions and 0 deletions

View File

@@ -60,6 +60,10 @@ void FunctionStore::removeFunction(Shared::Function * f) {
}
}
int FunctionStore::maxNumberOfFunctions() {
return k_maxNumberOfFunctions;
}
const char * FunctionStore::firstAvailableName() {
for (int k = 0; k < k_maxNumberOfFunctions; k++) {
int j = 0;