- Timestamp:
- Jul 29, 2016 8:18:30 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109279
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/VBox-CodingGuidelines.cpp
r62704 r62705 60 60 * them from defines. 61 61 * 62 * - Pointer typedefs start with 'P'. 62 * - Pointer typedefs start with 'P'. If pointer to const then 'PC'. 63 63 * 64 64 * - Function typedefs start with 'FN'. If pointer to FN then 'PFN'. … … 511 511 * 512 512 * - The 'c' prefix means count. For instance 'cbBlock' could be read, 513 * count of bytes in block. 513 * count of bytes in block. (1) 514 514 * 515 515 * - The 'cx' prefix means width (count of 'x' units). … … 583 583 * - The 'pcsz' prefix is used to indicate constant string pointers in 584 584 * parts of the code. Most code uses 'psz' for const and non-const 585 * string pointers .585 * string pointers, so please ignore this one. 586 586 * 587 587 * - The 'l' prefix means (signed) long. We try avoid using this, … … 594 594 * long' on 64-bit non-Windows platforms and can cause confusion. 595 595 * 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'. 596 600 * 597 601 *
Note:
See TracChangeset
for help on using the changeset viewer.