diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-04-11 15:54:34 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-04-11 15:54:34 -0400 |
| commit | 3394019790216360933090478665025216727891 (patch) | |
| tree | 9d0835e90f0d1c55da1cadb54234e38715207cb3 /binaryninjacore.h | |
| parent | 62036d41a3e7491e274a5ab4826bdac0522dac1b (diff) | |
Rename lineWidth -> paddingCols in GetTypeLines()
This is a more accurate name for what the parameter actually does. Documentation was improved as well.
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 72e5c9a4..68828ce8 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2771,10 +2771,10 @@ extern "C" bool (*getTypeStringAfterName)(void* ctxt, BNType* type, BNPlatform* platform, BNTokenEscapingType escaping, char** result); bool (*getTypeLines)(void* ctxt, BNType* type, BNTypeContainer* types, BNQualifiedName* name, - int lineWidth, bool collapsed, + int paddingCols, 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); + BNBinaryView* data, int paddingCols, 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); @@ -5758,7 +5758,7 @@ extern "C" BINARYNINJACOREAPI bool BNAddTypeMemberTokens(BNType* type, BNBinaryView* data, BNInstructionTextToken** tokens, size_t* tokenCount, int64_t offset, char*** nameList, size_t* nameCount, size_t size, bool indirect); - BINARYNINJACOREAPI BNTypeDefinitionLine* BNGetTypeLines(BNType* type, BNTypeContainer* types, const char* name, int lineWidth, bool collapsed, BNTokenEscapingType escaping, size_t* count); + BINARYNINJACOREAPI BNTypeDefinitionLine* BNGetTypeLines(BNType* type, BNTypeContainer* types, const char* name, int paddingCols, bool collapsed, BNTokenEscapingType escaping, size_t* count); BINARYNINJACOREAPI void BNFreeTypeDefinitionLineList(BNTypeDefinitionLine* list, size_t count); BINARYNINJACOREAPI BNQualifiedName BNTypeBuilderGetTypeName(BNTypeBuilder* nt); @@ -6042,12 +6042,12 @@ extern "C" BNType* type, BNPlatform* platform, BNTokenEscapingType escaping, char** result); BINARYNINJACOREAPI bool BNGetTypePrinterTypeLines(BNTypePrinter* printer, BNType* type, BNTypeContainer* types, BNQualifiedName* name, - int lineWidth, bool collapsed, BNTokenEscapingType escaping, + int paddingCols, 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); + size_t typeCount, BNBinaryView* data, int paddingCols, BNTokenEscapingType escaping, char** result); BINARYNINJACOREAPI bool BNTypePrinterDefaultPrintAllTypes(BNTypePrinter* printer, BNQualifiedName* names, BNType** types, - size_t typeCount, BNBinaryView* data, int lineWidth, BNTokenEscapingType escaping, char** result); + size_t typeCount, BNBinaryView* data, int paddingCols, BNTokenEscapingType escaping, char** result); BINARYNINJACOREAPI void BNFreeTypeParserResult(BNTypeParserResult* result); BINARYNINJACOREAPI void BNFreeTypeParserErrors(BNTypeParserError* errors, size_t count); |
