diff options
author | Gabe Black <gabeblack@google.com> | 2017-10-04 19:22:56 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-10-05 09:15:14 +0000 |
commit | 000cda556c4264c0f931bda12ed41d200ac19b81 (patch) | |
tree | 73d82cafc3482e432ca281f92ce6d8103c0e16a9 /configs | |
parent | 2243430eac4f6049d2f943627ad993e74eca31eb (diff) | |
download | gem5-000cda556c4264c0f931bda12ed41d200ac19b81.tar.xz |
misc: Rename the (De|En)codeVarint function _(De|En)codeVarint32.
DecodeVarint implicitly truncates its inputs to 32 bits, and that should be
obvious from its name, and so not a surprise to the caller. EncodeVarint also
has the suffix added for consistency. Both functions are only used in
protolib.py, so add a _ to make it private (in the python sense) to the
module.
Change-Id: I835295717bb51672351b963fe1227ed619836f22
Reviewed-on: https://gem5-review.googlesource.com/5001
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions