VirtualBox

儲存庫 vbox 的更動 62705


忽略:
時間撮記:
2016-7-29 下午08:18:30 (8 年 以前)
作者:
vboxsync
訊息:

CodingGuidelines: Reverted r109277 (PC) and clarified 'c' instead which was my actual intention.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/doc/VBox-CodingGuidelines.cpp

    r62704 r62705  
    6060 *        them from defines.
    6161 *
    62  *      - Pointer typedefs start with 'P'.
     62 *      - Pointer typedefs start with 'P'. If pointer to const then 'PC'.
    6363 *
    6464 *      - Function typedefs start with 'FN'. If pointer to FN then 'PFN'.
     
    511511 *
    512512 *      - The 'c' prefix means count.  For instance 'cbBlock' could be read,
    513  *        count of bytes in block.
     513 *        count of bytes in block. (1)
    514514 *
    515515 *      - The 'cx' prefix means width (count of 'x' units).
     
    583583 *      - The 'pcsz' prefix is used to indicate constant string pointers in
    584584 *        parts of the code.  Most code uses 'psz' for const and non-const
    585  *        string pointers.
     585 *        string pointers, so please ignore this one.
    586586 *
    587587 *      - The 'l' prefix means (signed) long.  We try avoid using this,
     
    594594 *        long' on 64-bit non-Windows platforms and can cause confusion.
    595595 *        Alternatives: 'u' or 'u32'.  [type]
     596 *
     597 *
     598 * (1)  Except in the occasional 'pcsz' prefix, the 'c' prefix is never ever
     599 *      used in the meaning 'const'.
    596600 *
    597601 *
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette