Files
swift-mirror/test/APINotes/Inputs/broken-modules/BrokenAPINotes.h
Jordan Rose 3d9d0a3c90 Allow nested names in @available(*, renamed:"..."). (#2722)
This can be used as QoI for things like 'NSASCIIStringEncoding', which
is going to canonically be `String.Encoding.ascii` if/when SE-0086 is
accepted.

We can't actually handle this in NS_SWIFT_NAME (that is, we can't
/import/ something onto a nested type), but that's okay: we already
have stricter limitations on NS_SWIFT_NAME enforced by Clang.

rdar://problem/26352374
2016-05-26 12:54:05 -07:00

13 lines
571 B
C

typedef struct ZXSpectrum { unsigned char A, B, C, D, H, L; } ZXSpectrum;
unsigned char ZXSpectrumGetAccumulator(const ZXSpectrum *self);
void ZXSpectrumSetAccumulator(ZXSpectrum *self, unsigned char newValue);
unsigned char ZXSpectrumGetRegister(const ZXSpectrum *self, int which);
void ZXSpectrumSetRegister(ZXSpectrum *self, int which, unsigned char newValue);
unsigned char ZXSpectrumGetMisnamedRegister(const ZXSpectrum *self, int which);
void ZXSpectrumSetMisnamedRegister(ZXSpectrum *self, int which, unsigned char newValue);
void ZXSpectrumHelperReset(void);