diff options
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 0d2bdfe2..089b3693 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2460,6 +2460,9 @@ namespace BinaryNinja { InstructionTextToken(const BNInstructionTextToken& token); InstructionTextToken WithConfidence(uint8_t conf); + BNInstructionTextToken GetAPIObject() const; + static InstructionTextToken FromAPIObject(const BNInstructionTextToken* token); + static void FreeAPIObject(BNInstructionTextToken* token); static void ConvertInstructionTextToken(const InstructionTextToken& token, BNInstructionTextToken* result); static BNInstructionTextToken* CreateInstructionTextTokenList(const std::vector<InstructionTextToken>& tokens); static void FreeInstructionTextToken(BNInstructionTextToken* token); @@ -19502,6 +19505,9 @@ namespace BinaryNinja { /*! Returns the list of tokens on the current line */ std::vector<InstructionTextToken> GetCurrentTokens() const; + /*! Set the list of tokens on the current line */ + void SetCurrentTokens(const std::vector<InstructionTextToken>& newTokens); + /*! Sets the requirement for insertion of braces around scopes in the output. */ void SetBraceRequirement(BNBraceRequirement required); |
