(self, handle: core.BNPlatform)
| 767 | |
| 768 | class CorePlatform(Platform): |
| 769 | def __init__(self, handle: core.BNPlatform): |
| 770 | super(CorePlatform, self).__init__(handle=handle) |
| 771 | if type(self) is CorePlatform: |
| 772 | global _platform_cache |
| 773 | _platform_cache[ctypes.addressof(handle.contents)] = self |
| 774 | |
| 775 | @classmethod |
| 776 | def _from_cache(cls, handle) -> 'Platform': |