diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-11-15 16:23:50 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-11-16 13:57:49 -0500 |
| commit | acc1d309d20ac4414db230f52cd75d877084b969 (patch) | |
| tree | 1eb9fc7d5fa2ed700c09f4500092b5240896a8be /binaryninjacore.h | |
| parent | 1e67c64787bf84c3fbb264ade6bff128ddcc548d (diff) | |
Add TypePrinter::PrintAllTypes to export C headers
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index b17af806..876ec84e 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2572,6 +2572,8 @@ extern "C" bool (*getTypeLines)(void* ctxt, BNType* type, BNBinaryView* data, BNQualifiedName* name, int lineWidth, bool collapsed, BNTokenEscapingType escaping, BNTypeDefinitionLine** result, size_t* resultCount); + bool (*printAllTypes)(void* ctxt, BNQualifiedName* names, BNType** types, size_t typeCount, + BNBinaryView* data, int lineWidth, BNTokenEscapingType escaping, char** result); void (*freeTokens)(void* ctxt, BNInstructionTextToken* tokens, size_t count); void (*freeString)(void* ctxt, char* string); void (*freeLines)(void* ctxt, BNTypeDefinitionLine* lines, size_t count); @@ -5550,6 +5552,10 @@ extern "C" BNType* type, BNBinaryView* data, BNQualifiedName* name, int lineWidth, bool collapsed, BNTokenEscapingType escaping, BNTypeDefinitionLine** result, size_t* resultCount); + BINARYNINJACOREAPI bool BNTypePrinterPrintAllTypes(BNTypePrinter* printer, BNQualifiedName* names, BNType** types, + size_t typeCount, BNBinaryView* data, int lineWidth, BNTokenEscapingType escaping, char** result); + BINARYNINJACOREAPI bool BNTypePrinterDefaultPrintAllTypes(BNTypePrinter* printer, BNQualifiedName* names, BNType** types, + size_t typeCount, BNBinaryView* data, int lineWidth, BNTokenEscapingType escaping, char** result); BINARYNINJACOREAPI void BNFreeTypeParserResult(BNTypeParserResult* result); BINARYNINJACOREAPI void BNFreeTypeParserErrors(BNTypeParserError* errors, size_t count); |
