This prevents conflicts when this header is included in a project using Objective-C. As most ObjC code will use the language's unfortunately-defined (but nonetheless everpresent) BOOL type, it causes a great deal of trouble when the two definitions collide. This is not an issue for NIO itself but does show up for those using the code elsewhere.
A simple case-sensitive find/replace of BOOL with BOOLIFY. There is no functional change of any kind.
This header should now be more usable in projects that include Objective-C code, and we will have yet another item on the lists of 1) why Objective-C is annoying, and 2) why the C preprocessor lacking namespacing is a very bad thing.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.