作者: phishingphi (hsnutontu) 2018-01-14 01:09:00
目前我看到的紅線文字為 If a set of definesapplies to a particular piece of global data(such as a flags word), the defines should beimmediately after the data declaration orembedded in structure declarations, indented toput the defines one level deeper than the firstkeyword of the declaration to which they apply.不負責的解讀成某個資料結構先宣告出來,那些相關的defines出現的位置,要嘛是在那個 data structure 後不然就是 embedded 在 structure 裡面並且縮排。比如說一個 struct audit_context 用某個 enumaudit_context 表示其狀態,他應該在規定那個 enum出現的次序為何enum 應該出現在那個 struct 之後或者包在 struct 內並且要縮排一層