mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
3fb5d9c0a6
Mask the non-native bridgeobject bits rather than all spare bits. This prevents us from trying to retain pointers that aren't valid native object pointers.
8 lines
230 B
C
8 lines
230 B
C
#include <stddef.h>
|
|
|
|
typedef void *(*AllocObjectFn)(const void *metadata,
|
|
size_t requiredSize,
|
|
size_t requiredAlignmentMask);
|
|
|
|
extern AllocObjectFn _swift_allocObject;
|