Ticket #45080

generate_packets.py: add separate class for array sizes

오픈 날짜: 2022-07-11 04:21 마지막 업데이트: 2022-07-12 19:16

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Part of #43927. Field class currently has three separate fields for the three components of an array size (or string / memory length) ~> package those into one object of a new class SizeInfo, and move appropriate parsing code to that class.

Ticket History (3/4 Histories)

2022-07-11 04:21 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: add separate class for array sizes" created
2022-07-11 04:54 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
댓글 올리기

Note: While it's clear what they're used for in the code, I was only able to guess what the d, u and o in the original field names stood for exactly, since even digging through the mailing list archive didn't reveal any documentation – presumably "declared", "used" and "old"; I changed the u to "real", since it's the real_packet field.

2022-07-12 19:16 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login