Files
swift-mirror/validation-test/stdlib/MicroStdlib/Inputs/RuntimeStubs.c
John McCall 9bbbe2c418 Update the metadata-initialization ABI:
- Create the value witness table as a separate global object instead
  of concatenating it to the metadata pattern.

- Always pass the metadata to the runtime and let the runtime handle
  instantiating or modifying the value witness table.

- Pass the right layout algorithm version to the runtime; currently
  this is always "Swift 5".

- Create a runtime function to instantiate single-case enums.

Among other things, this makes the copying of the VWT, and any
modifications of it, explicit and in the runtime, which is more
future-proof.
2017-12-21 00:26:37 -05:00

13 lines
387 B
C

int _T0Bi32_N;
int _T0Bi64_N;
int _T0Bi8_N;
void _swift_getEnumCaseSinglePayload(void) {}
void _swift_getGenericMetadata(void) {}
void _swift_slowAlloc(void) {}
void _swift_slowDealloc(void) {}
void _swift_storeEnumTagSinglePayload(void) {}
void swift_allocateGenericValueMetadata(void) {}
void swift_initEnumMetadataSinglePayload(void) {}
void _swift_retain(){}
void swift_allocBox(){}