Differences From Artifact [9f3314050d]:
- File src/OFBitSetCharacterSet.h — part of check-in [7413a728a7] at 2024-04-03 02:16:03 on branch trunk — Change license to LGPLv3 only (user: js, size: 905) [annotate] [blame] [check-ins using] [more...]
To Artifact [ba3d4f6a9d]:
- File
src/OFBitSetCharacterSet.h
— part of check-in
[96f946d7ad]
at
2024-05-09 10:21:24
on branch trunk
— Use unsigned long for bit sets
This should be more efficient on some architectures.
As a nice side effect, this is also what Linux does in some userspace
APIs, so after this change, these macros can be used for this as well
(and Linux interestingly does not provide similar macros in the
userspace headers). (user: js, size: 905) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
19 20 21 22 23 24 25 | #import "OFCharacterSet.h" OF_ASSUME_NONNULL_BEGIN @interface OFBitSetCharacterSet: OFCharacterSet { | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 | #import "OFCharacterSet.h" OF_ASSUME_NONNULL_BEGIN @interface OFBitSetCharacterSet: OFCharacterSet { unsigned long *_bitSet; size_t _size; } @end OF_ASSUME_NONNULL_END |