(self, ctxt: ctypes.c_void_p, keys: ctypes.POINTER(ctypes.c_char_p), conflicts: ctypes.POINTER(core.BNAnalysisMergeConflictHandle), count: int)
| 221 | Helper class that resolves conflicts |
| 222 | """ |
| 223 | def _handle(self, ctxt: ctypes.c_void_p, keys: ctypes.POINTER(ctypes.c_char_p), conflicts: ctypes.POINTER(core.BNAnalysisMergeConflictHandle), count: int) -> bool: |
| 224 | try: |
| 225 | py_conflicts = {} |
| 226 | for i in range(count): |
| 227 | py_conflicts[core.pyNativeStr(keys[i])] = MergeConflict(handle=conflicts[i]) |
| 228 | return self.handle(py_conflicts) |
| 229 | except: |
| 230 | traceback.print_exc(file=sys.stderr) |
| 231 | return False |
| 232 | |
| 233 | @abc.abstractmethod |
| 234 | def handle(self, conflicts: Dict[str, MergeConflict]) -> bool: |
nothing calls this directly
no test coverage detected