get allocation id for function */
| 1299 | |
| 1300 | /** get allocation id for function */ |
| 1301 | int Library::getAllocId(const Token *tok, int arg) const |
| 1302 | { |
| 1303 | const Library::AllocFunc* af = getAllocFuncInfo(tok); |
| 1304 | return (af && af->arg == arg) ? af->groupId : 0; |
| 1305 | } |
| 1306 | |
| 1307 | /** get deallocation id for function */ |
| 1308 | int Library::getDeallocId(const Token *tok, int arg) const |