| 3119 | |
| 3120 | |
| 3121 | Ref<Symbol> BinaryView::DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, Ref<Type> type) |
| 3122 | { |
| 3123 | BNSymbol* result = BNDefineAutoSymbolAndVariableOrFunction( |
| 3124 | m_object, platform ? platform->GetObject() : nullptr, sym->GetObject(), type ? type->GetObject() : nullptr); |
| 3125 | if (!result) |
| 3126 | return nullptr; |
| 3127 | return new Symbol(result); |
| 3128 | } |
| 3129 | |
| 3130 | |
| 3131 | void BinaryView::UndefineAutoSymbol(Ref<Symbol> sym) |
no test coverage detected