Skip to content

Update#407

Closed
audetto wants to merge 2 commits into
audetto:masterfrom
AppleWin:master
Closed

Update#407
audetto wants to merge 2 commits into
audetto:masterfrom
AppleWin:master

Conversation

@audetto

@audetto audetto commented Jun 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

kiyolee and others added 2 commits June 6, 2026 14:12
1. Registry functions
   The set of functions are changed to consistently use bool arguments.
   The macros are changed to inline functions to improve type checking.
   RegSaveValue() are overloaded with help of templates to reduce
   typecasting at call sites. For instance, bool value would be converted
   consistently instead of relying on call sites to convert bool to int values.
2. Memory functions
   BOOL usages were unnecessary. Mostly internal usages which can simply be bool.
3. FrameBase
   Some member variables are changed to bool.
   BOOL was used because of those Registry functions.

Additional changes:
- Some expressions are forced to be bool when assigning to bool variables.
. pass in an enum instead of a bool to improve code readability
@audetto audetto closed this Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants