diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-06 16:59:56 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-06 16:59:56 +0200 |
commit | c92d449f7a055769f518a809487f97d8272c4e9d (patch) | |
tree | 9fd704fe7c5601c42e86724b7b7c07c2fad6b38b /showtodo | |
parent | 86a0cec08f11de875d25012e5b251a91739ce06c (diff) | |
download | EpisodeBrowser-c92d449f7a055769f518a809487f97d8272c4e9d.tar.gz |
Update Hungarian notation for buffer sizes.
For string lengths EXCLUDING NUL, I use len, whereas cb and cch are
used for string lengths INCLUDING NUL.
cb = byte count = sizeof(a) = narrow string length
cch = character count = sizeof(a)/sizeof(*a) = string length
cb and cch are equivalent for narrow strings. I prefer cch.
Diffstat (limited to 'showtodo')
0 files changed, 0 insertions, 0 deletions