| 449 | } |
| 450 | |
| 451 | void Module::registerAnnotation ( AnnotationPtr ptr ) { |
| 452 | auto key = hash64z(ptr->name.c_str()); |
| 453 | if ( handleTypes.find(key)==handleTypes.end() ) { |
| 454 | ptr->module = this; |
| 455 | handleTypes[key] = ptr; |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | bool Module::addAnnotation ( AnnotationPtr ptr, bool canFail ) { |
| 460 | auto key = hash64z(ptr->name.c_str()); |
no test coverage detected