From acc1d309d20ac4414db230f52cd75d877084b969 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 15 Nov 2022 16:23:50 -0500 Subject: Add TypePrinter::PrintAllTypes to export C headers --- binaryninjacore.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binaryninjacore.h') 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); -- cgit v1.3.1