Skip to content

bool to bool32 cleanup

atsb requested to merge bool_to_bool32 into master

This renames the 'bool' which is a 32bit unsigned integer (UInt32) from the 'bool' name to 'bool32'. Having bool is not a good idea as on some platforms it will conflict with studbook.h (clang compilers) and so having a complete disconnection from an actual bool to an internalised bool which points to an integer is not only correct but also will aid in error-detection as we can simply search for our own bool32 everywhere instead of having to decide if it is coming from a missing import or not.

Basically, it cleans it up and makes it crystal clear that this is our bool and an integer.

Edited by atsb

Merge request reports