| 518 | |
| 519 | |
| 520 | Ref<Platform> Platform::GetRelatedPlatform(Architecture* arch) |
| 521 | { |
| 522 | BNPlatform* platform = BNGetRelatedPlatform(m_object, arch->GetObject()); |
| 523 | if (!platform) |
| 524 | return nullptr; |
| 525 | return new CorePlatform(platform); |
| 526 | } |
| 527 | |
| 528 | |
| 529 | void Platform::AddRelatedPlatform(Architecture* arch, Platform* platform) |