| 220 | if(dofunc && id->fun) ((void (__cdecl *)())id->fun)(); // call trigger function if available |
| 221 | } |
| 222 | void setsvar(const char *name, const char *str, bool dofunc) |
| 223 | { |
| 224 | GETVAR(id, ID_SVAR, name); |
| 225 | *id->storage.s = exchangestr(*id->storage.s, str); |
| 226 | if(dofunc && id->fun) ((void (__cdecl *)())id->fun)(); // call trigger function if available |
| 227 | } |
| 228 | |
| 229 | bool identexists(const char *name) { return idents->access(name)!=NULL; } |
| 230 |
nothing calls this directly
no test coverage detected