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 /type.cpp | |
| 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 'type.cpp')
| -rw-r--r-- | type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1203,11 +1203,11 @@ bool Type::AddTypeMemberTokens(BinaryView* data, vector<InstructionTextToken>& t std::vector<TypeDefinitionLine> Type::GetLines(const TypeContainer& types, const std::string& name, - int lineWidth, bool collapsed, BNTokenEscapingType escaping) + int paddingCols, bool collapsed, BNTokenEscapingType escaping) { size_t count; BNTypeDefinitionLine* list = - BNGetTypeLines(m_object, types.GetObject(), name.c_str(), lineWidth, collapsed, escaping, &count); + BNGetTypeLines(m_object, types.GetObject(), name.c_str(), paddingCols, collapsed, escaping, &count); std::vector<TypeDefinitionLine> results; for (size_t i = 0; i < count; i++) |
