-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trailing blanks and other minor things #34
Comments
Thanks |
The pointer does not need to be writable because constant pointer is not a pointer to a constant structure. |
Timmed Doxyfile gets 0.5K lighter; sources probably have no trailing blanks. |
There is only 1 whitespace on some lines that continue after the line brake, and they're all comments. I don't understand what do we gain if we remove that whitespace, it does not end up anywhere in the output. |
Trailing blanks tend to appear unnoticed, and then mess file comparison. Comparison tools might have issues with differently sized files, or with showing clearly those blank spaces - then compare settings should be changed, or even other tools used. By the way, is this correct in Doxyfile or should be the same as the current library version? |
It seems the trailing blanks in generated files do have certain logic. |
I still don't understand what's the purpose of declaring a |
Are you sure? |
Yes, I'm quite sure I never saw a function argument declared as You said that declaring |
1. The current version got a lot of white space at line ends in Docs and Doxyfile.Global replace with regular expression can be used or some kind of
trim
utility.2. In
ResizableMsgSupport.h
lines 80, 86 and 92 can getconst
modifier, lke this:inline BOOL Send_QueryProperties(HWND hWnd, const LPRESIZEPROPERTIES pResizeProperties)
For example, class
CResizableMinMax
inResizableMinMax.h
in 64-bit build needs 4-byte padding after the lastBOOL
It would be better to move the block of
BOOL
members afterPOINT
block - no wasted space inside the class structure.By the way, it is possible to visualise memory layout in the latest VS2022.
The text was updated successfully, but these errors were encountered: