Expensive function to discard unused function names
| 171 | |
| 172 | // Expensive function to discard unused function names |
| 173 | static void userfunc_collectgarbage() |
| 174 | { |
| 175 | for (int i = userfunctions.size() - 1; i >= 0; --i) |
| 176 | { |
| 177 | if (!userfunctions.empty() && !userfunc_referenced(i)) |
| 178 | userfunctions[i].clear(); |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | static int userfunc_getindex(const string &fname) |
| 183 | { |
no test coverage detected