aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 7 insertions, 8 deletions
diff --git a/README b/README
index d7c644f..b492c53 100644
--- a/README
+++ b/README
@@ -62,17 +62,16 @@ Following is a summary of some coding conventions used in the project.
- p = pointer
- b = bool, BOOL, int (boolean value)
- - i = integer
+ - i = int
- h = handle
- - hX = X handle (e.g., hWnd = HWND)
- - l = long, LPARAM
- - w = WORD, WPARAM
+ - l = long, (LPARAM)
+ - w = unsigned short, WORD, (WPARAM)
- dw = DWORD
- lvi = LVITEM
- - sz = unmanaged, zero-terminated narrow string (char*)
- - wsz = unmanaged, zero-terminated wide string (wchar_t*)
- - s = managed narrow string (std::string)
- - ws = managed wide string (std::wstring)
+ - sz = char*
+ - wsz = wchar_t*
+ - ws = std::wstring
+ - wso = wstring_owner
The list above is non-exhaustive. Variables whose type is unknown (in
templates) do not need prefixes. Some very common self-explanatory