待辦事項 #43954

generate_packets.py: Context manager for header wrapping

啟用日期: 2022-02-21 04:14 最後更新: 2022-05-16 22:54

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

Part of #43927. Split from #43932. Provide a context manager for wrapping header files in multiple-inclusion-protection, as well as extern "C" wrapping for C++ contexts.

Ticket History (3/4 Histories)

2022-02-21 04:14 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: Context manager for header wrapping" created
2022-05-14 06:19 Updated by: alienvalkyrie
  • 負責人 Update from (無) to alienvalkyrie
  • 處理結果 Update from to Accepted
評語

As an added bonus, this patch adds multiple inclusion protection to common/packets_gen.h, which was lacking that up until now. (This was not an issue, since packets_gen.h is only included from common/networking/packets.h, which is itself multiple-inclusion-protected.)

2022-05-16 22:54 Updated by: alienvalkyrie
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入