| 367 | } |
| 368 | |
| 369 | inline void register_instance(instance *self, void *valptr, const type_info *tinfo) { |
| 370 | register_instance_impl(valptr, self); |
| 371 | if (!tinfo->simple_ancestors) { |
| 372 | traverse_offset_bases(valptr, tinfo, self, register_instance_impl); |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | inline bool deregister_instance(instance *self, void *valptr, const type_info *tinfo) { |
| 377 | bool ret = deregister_instance_impl(valptr, self); |
no test coverage detected