mem_length to word/byte length
be more specific, and don’t include padding
This commit is contained in:
@ -89,7 +89,7 @@ module Parfait
|
||||
get_layout().index_of(name)
|
||||
end
|
||||
|
||||
def mem_length
|
||||
def word_length
|
||||
padded_words( get_layout().get_length() + 2 )
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user