Hot fixes: Failure to close extern 'c' section in NSPathControlItem.h corrected. Replace 'or' with 'orientation' as some compilers will reject this as a reserved word.

This commit is contained in:
Gregory John Casamento 2020-06-24 10:28:49 -04:00
parent ac207e296d
commit a1e470341c
3 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ extern "C" {
- (NSArray *) tagNames;
- (NSPaperOrientation) orientation;
- (void) setOrientation: (NSPaperOrientation)or;
- (void) setOrientation: (NSPaperOrientation)orientation;
- (NSSize) paperSize;
- (void) setPaperSize: (NSSize)size;

View file

@ -57,7 +57,7 @@ extern "C" {
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */

View file

@ -76,9 +76,9 @@
return _orientation;
}
- (void) setOrientation: (NSPaperOrientation)or
- (void) setOrientation: (NSPaperOrientation)orientation
{
_orientation = or;
_orientation = orientation;
}
- (NSSize) paperSize;