4 ms·
This was common in the 90s, BeOS had these everywhere in its API classes
by dnautics 5y ago
This was common in the 90s, BeOS had these everywhere in its API classes
- nielsbot 5y agoThis is because of the fragile ABI problem in C++--it's not good for APIs for this reason. I used to program for the macOS kernel and they (used to) do exactly the same thing. See `OSMetaClassDefineReservedUnused` in `OSObject.cpp`, here: https://github.com/apple/darwin-xnu/blob/main/libkern/c++/OSObject.cpp https://github.com/apple/darwin-xnu/blob/main/libkern/c++/OS...