Commits

Anonymous committed d7b235c

Modified build to always invoke inc generator; this ensures that a build on any given system will include the appropriate enumerated types, etc, for that specific system.

Fixed a naming error in coco_generator; was generating the wrong named inc files for preference panes.

Removed inc files that are auto-generated.

Comments (0)

Files changed (24)

pyobjc/Modules/AddressBook/_Addr_Enum.inc

-/*
- * Enumeration constants. This file is generated from files in
- * /System/Library/Frameworks/AddressBook.framework/Headers
- */
-static struct inttable enum_table[] = {
-
-	/* From: ABAddressBook.h */
-
-	/* From: ABAddressBookC.h */
-
-	/* From: ABGlobals.h */
-
-	/* From: ABGlobalsC.h */
-
-	/* From: ABGroup.h */
-
-	/* From: ABImageLoading.h */
-
-	/* From: ABMultiValue.h */
-
-	/* From: ABPerson.h */
-
-	/* From: ABRecord.h */
-
-	/* From: ABSearchElement.h */
-
-	/* From: ABTypedefs.h */
-	 { "kABErrorInProperty", kABErrorInProperty },
-	 { "kABStringProperty", kABStringProperty },
-	 { "kABIntegerProperty", kABIntegerProperty },
-	 { "kABRealProperty", kABRealProperty },
-	 { "kABDateProperty", kABDateProperty },
-	 { "kABArrayProperty", kABArrayProperty },
-	 { "kABDictionaryProperty", kABDictionaryProperty },
-	 { "kABDataProperty", kABDataProperty },
-	 { "kABMultiStringProperty", kABMultiStringProperty },
-	 { "kABMultiIntegerProperty", kABMultiIntegerProperty },
-	 { "kABMultiRealProperty", kABMultiRealProperty },
-	 { "kABMultiDateProperty", kABMultiDateProperty },
-	 { "kABMultiArrayProperty", kABMultiArrayProperty },
-	 { "kABMultiDictionaryProperty", kABMultiDictionaryProperty },
-	 { "kABMultiDataProperty", kABMultiDataProperty },
-	 { "kABEqual", kABEqual },
-	 { "kABNotEqual", kABNotEqual },
-	 { "kABLessThan", kABLessThan },
-	 { "kABLessThanOrEqual", kABLessThanOrEqual },
-	 { "kABGreaterThan", kABGreaterThan },
-	 { "kABGreaterThanOrEqual", kABGreaterThanOrEqual },
-	 { "kABEqualCaseInsensitive", kABEqualCaseInsensitive },
-	 { "kABContainsSubString", kABContainsSubString },
-	 { "kABContainsSubStringCaseInsensitive", kABContainsSubStringCaseInsensitive },
-	 { "kABPrefixMatch", kABPrefixMatch },
-	 { "kABPrefixMatchCaseInsensitive", kABPrefixMatchCaseInsensitive },
-	 { "kABSearchAnd", kABSearchAnd },
-	 { "kABSearchOr", kABSearchOr },
-
-	/* From: AddressBook.h */
-	{0, 0} /* Sentinel */
-};

pyobjc/Modules/AddressBook/_Addr_Str.inc

-/*
- * String constants. This file is generated from files in
- * /System/Library/Frameworks/AddressBook.framework/Headers
- */
-static struct stringtable string_table[] = {
-
-	/* From: ABAddressBook.h */
-
-	/* From: ABAddressBookC.h */
-
-	/* From: ABGlobals.h */
-	 { "kABUIDProperty", &kABUIDProperty },
-	 { "kABCreationDateProperty", &kABCreationDateProperty },
-	 { "kABModificationDateProperty", &kABModificationDateProperty },
-	 { "kABFirstNameProperty", &kABFirstNameProperty },
-	 { "kABLastNameProperty", &kABLastNameProperty },
-	 { "kABFirstNamePhoneticProperty", &kABFirstNamePhoneticProperty },
-	 { "kABLastNamePhoneticProperty", &kABLastNamePhoneticProperty },
-	 { "kABBirthdayProperty", &kABBirthdayProperty },
-	 { "kABOrganizationProperty", &kABOrganizationProperty },
-	 { "kABJobTitleProperty", &kABJobTitleProperty },
-	 { "kABHomePageProperty", &kABHomePageProperty },
-	 { "kABEmailProperty", &kABEmailProperty },
-	 { "kABEmailWorkLabel", &kABEmailWorkLabel },
-	 { "kABEmailHomeLabel", &kABEmailHomeLabel },
-	 { "kABAddressProperty", &kABAddressProperty },
-	 { "kABAddressStreetKey", &kABAddressStreetKey },
-	 { "kABAddressCityKey", &kABAddressCityKey },
-	 { "kABAddressStateKey", &kABAddressStateKey },
-	 { "kABAddressZIPKey", &kABAddressZIPKey },
-	 { "kABAddressCountryKey", &kABAddressCountryKey },
-	 { "kABAddressCountryCodeKey", &kABAddressCountryCodeKey },
-	 { "kABAddressHomeLabel", &kABAddressHomeLabel },
-	 { "kABAddressWorkLabel", &kABAddressWorkLabel },
-	 { "kABPhoneProperty", &kABPhoneProperty },
-	 { "kABPhoneWorkLabel", &kABPhoneWorkLabel },
-	 { "kABPhoneHomeLabel", &kABPhoneHomeLabel },
-	 { "kABPhoneMobileLabel", &kABPhoneMobileLabel },
-	 { "kABPhoneMainLabel", &kABPhoneMainLabel },
-	 { "kABPhoneHomeFAXLabel", &kABPhoneHomeFAXLabel },
-	 { "kABPhoneWorkFAXLabel", &kABPhoneWorkFAXLabel },
-	 { "kABPhonePagerLabel", &kABPhonePagerLabel },
-	 { "kABAIMInstantProperty", &kABAIMInstantProperty },
-	 { "kABAIMWorkLabel", &kABAIMWorkLabel },
-	 { "kABAIMHomeLabel", &kABAIMHomeLabel },
-	 { "kABJabberInstantProperty", &kABJabberInstantProperty },
-	 { "kABJabberWorkLabel", &kABJabberWorkLabel },
-	 { "kABJabberHomeLabel", &kABJabberHomeLabel },
-	 { "kABMSNInstantProperty", &kABMSNInstantProperty },
-	 { "kABMSNWorkLabel", &kABMSNWorkLabel },
-	 { "kABMSNHomeLabel", &kABMSNHomeLabel },
-	 { "kABYahooInstantProperty", &kABYahooInstantProperty },
-	 { "kABYahooWorkLabel", &kABYahooWorkLabel },
-	 { "kABYahooHomeLabel", &kABYahooHomeLabel },
-	 { "kABICQInstantProperty", &kABICQInstantProperty },
-	 { "kABICQWorkLabel", &kABICQWorkLabel },
-	 { "kABICQHomeLabel", &kABICQHomeLabel },
-	 { "kABNoteProperty", &kABNoteProperty },
-	 { "kABMiddleNameProperty", &kABMiddleNameProperty },
-	 { "kABMiddleNamePhoneticProperty", &kABMiddleNamePhoneticProperty },
-	 { "kABTitleProperty", &kABTitleProperty },
-	 { "kABSuffixProperty", &kABSuffixProperty },
-	 { "kABNicknameProperty", &kABNicknameProperty },
-	 { "kABMaidenNameProperty", &kABMaidenNameProperty },
-	 { "kABGroupNameProperty", &kABGroupNameProperty },
-	 { "kABWorkLabel", &kABWorkLabel },
-	 { "kABHomeLabel", &kABHomeLabel },
-	 { "kABOtherLabel", &kABOtherLabel },
-	 { "kABDatabaseChangedNotification", &kABDatabaseChangedNotification },
-	 { "kABDatabaseChangedExternallyNotification", &kABDatabaseChangedExternallyNotification },
-
-	/* From: ABGlobalsC.h */
-
-	/* From: ABGroup.h */
-
-	/* From: ABImageLoading.h */
-
-	/* From: ABMultiValue.h */
-
-	/* From: ABPerson.h */
-
-	/* From: ABRecord.h */
-
-	/* From: ABSearchElement.h */
-
-	/* From: ABTypedefs.h */
-
-	/* From: AddressBook.h */
-	{0, 0} /* Sentinel */
-};

pyobjc/Modules/AddressBook/_Addr_Var.inc

-/*
- * Various constants. This file is generated from files in
- * /System/Library/Frameworks/AddressBook.framework/Headers
- * 
- * #Include this into the module init function
- */
-
-	/* From: ABAddressBook.h */
-
-	/* From: ABAddressBookC.h */
-
-	/* From: ABGlobals.h */
-
-	/* From: ABGlobalsC.h */
-	if (add_CFStringRef(d, "kABUIDProperty", kABUIDProperty) < 0) return;
-	if (add_CFStringRef(d, "kABCreationDateProperty", kABCreationDateProperty) < 0) return;
-	if (add_CFStringRef(d, "kABModificationDateProperty", kABModificationDateProperty) < 0) return;
-	if (add_CFStringRef(d, "kABFirstNameProperty", kABFirstNameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABLastNameProperty", kABLastNameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABFirstNamePhoneticProperty", kABFirstNamePhoneticProperty) < 0) return;
-	if (add_CFStringRef(d, "kABLastNamePhoneticProperty", kABLastNamePhoneticProperty) < 0) return;
-	if (add_CFStringRef(d, "kABBirthdayProperty", kABBirthdayProperty) < 0) return;
-	if (add_CFStringRef(d, "kABOrganizationProperty", kABOrganizationProperty) < 0) return;
-	if (add_CFStringRef(d, "kABJobTitleProperty", kABJobTitleProperty) < 0) return;
-	if (add_CFStringRef(d, "kABHomePageProperty", kABHomePageProperty) < 0) return;
-	if (add_CFStringRef(d, "kABEmailProperty", kABEmailProperty) < 0) return;
-	if (add_CFStringRef(d, "kABEmailWorkLabel", kABEmailWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABEmailHomeLabel", kABEmailHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABAddressProperty", kABAddressProperty) < 0) return;
-	if (add_CFStringRef(d, "kABAddressStreetKey", kABAddressStreetKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressCityKey", kABAddressCityKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressStateKey", kABAddressStateKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressZIPKey", kABAddressZIPKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressCountryKey", kABAddressCountryKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressCountryCodeKey", kABAddressCountryCodeKey) < 0) return;
-	if (add_CFStringRef(d, "kABAddressHomeLabel", kABAddressHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABAddressWorkLabel", kABAddressWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneProperty", kABPhoneProperty) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneWorkLabel", kABPhoneWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneHomeLabel", kABPhoneHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneMobileLabel", kABPhoneMobileLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneMainLabel", kABPhoneMainLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneHomeFAXLabel", kABPhoneHomeFAXLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhoneWorkFAXLabel", kABPhoneWorkFAXLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPhonePagerLabel", kABPhonePagerLabel) < 0) return;
-	if (add_CFStringRef(d, "kABAIMInstantProperty", kABAIMInstantProperty) < 0) return;
-	if (add_CFStringRef(d, "kABAIMWorkLabel", kABAIMWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABAIMHomeLabel", kABAIMHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABJabberInstantProperty", kABJabberInstantProperty) < 0) return;
-	if (add_CFStringRef(d, "kABJabberWorkLabel", kABJabberWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABJabberHomeLabel", kABJabberHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABMSNInstantProperty", kABMSNInstantProperty) < 0) return;
-	if (add_CFStringRef(d, "kABMSNWorkLabel", kABMSNWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABMSNHomeLabel", kABMSNHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABYahooInstantProperty", kABYahooInstantProperty) < 0) return;
-	if (add_CFStringRef(d, "kABYahooWorkLabel", kABYahooWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABYahooHomeLabel", kABYahooHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABICQInstantProperty", kABICQInstantProperty) < 0) return;
-	if (add_CFStringRef(d, "kABICQWorkLabel", kABICQWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABICQHomeLabel", kABICQHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABNoteProperty", kABNoteProperty) < 0) return;
-	if (add_CFStringRef(d, "kABMiddleNameProperty", kABMiddleNameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABMiddleNamePhoneticProperty", kABMiddleNamePhoneticProperty) < 0) return;
-	if (add_CFStringRef(d, "kABTitleProperty", kABTitleProperty) < 0) return;
-	if (add_CFStringRef(d, "kABSuffixProperty", kABSuffixProperty) < 0) return;
-	if (add_CFStringRef(d, "kABNicknameProperty", kABNicknameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABMaidenNameProperty", kABMaidenNameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABGroupNameProperty", kABGroupNameProperty) < 0) return;
-	if (add_CFStringRef(d, "kABWorkLabel", kABWorkLabel) < 0) return;
-	if (add_CFStringRef(d, "kABHomeLabel", kABHomeLabel) < 0) return;
-	if (add_CFStringRef(d, "kABOtherLabel", kABOtherLabel) < 0) return;
-	if (add_CFStringRef(d, "kABPersonRecordType", kABPersonRecordType) < 0) return;
-	if (add_CFStringRef(d, "kABGroupRecordType", kABGroupRecordType) < 0) return;
-	if (add_CFStringRef(d, "kABDatabaseChangedNotification", kABDatabaseChangedNotification) < 0) return;
-	if (add_CFStringRef(d, "kABDatabaseChangedExternallyNotification", kABDatabaseChangedExternallyNotification) < 0) return;
-
-	/* From: ABGroup.h */
-
-	/* From: ABImageLoading.h */
-
-	/* From: ABMultiValue.h */
-
-	/* From: ABPerson.h */
-
-	/* From: ABRecord.h */
-
-	/* From: ABSearchElement.h */
-
-	/* From: ABTypedefs.h */
-
-	/* From: AddressBook.h */

pyobjc/Modules/AppKit/_AppKit.m

 
 #ifndef GNUSTEP
 
-#if MAC_OS_X_VERSION_10_2 <= MAC_OS_X_VERSION_MAX_ALLOWED
+#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2
+#import <AppKit/NSNib.h>
+#endif
+
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2
 #import <AppKit/NSAccessibility.h>
 #endif
 

pyobjc/Modules/AppKit/_App_Enum.inc

-/*
- * Enumeration constants. This file is generated from files in
- * /System/Library/Frameworks/AppKit.framework/Headers
- */
-static struct inttable enum_table[] = {
-
-	/* From: AppKit.h */
-
-	/* From: AppKitDefines.h */
-
-	/* From: NSAccessibility.h */
-
-	/* From: NSActionCell.h */
-
-	/* From: NSAffineTransform.h */
-
-	/* From: NSAppleScriptExtensions.h */
-
-	/* From: NSApplication.h */
-	 { "NSRunStoppedResponse", NSRunStoppedResponse },
-	 { "NSRunAbortedResponse", NSRunAbortedResponse },
-	 { "NSRunContinuesResponse", NSRunContinuesResponse },
-	 { "NSUpdateWindowsRunLoopOrdering", NSUpdateWindowsRunLoopOrdering },
-	 { "NSCriticalRequest", NSCriticalRequest },
-	 { "NSInformationalRequest", NSInformationalRequest },
-	 { "NSTerminateCancel", NSTerminateCancel },
-	 { "NSTerminateNow", NSTerminateNow },
-	 { "NSTerminateLater", NSTerminateLater },
-
-	/* From: NSApplicationScripting.h */
-
-	/* From: NSAttributedString.h */
-	 { "NSNoUnderlineStyle", NSNoUnderlineStyle },
-	 { "NSSingleUnderlineStyle", NSSingleUnderlineStyle },
-
-	/* From: NSBezierPath.h */
-	 { "NSButtLineCapStyle", NSButtLineCapStyle },
-	 { "NSRoundLineCapStyle", NSRoundLineCapStyle },
-	 { "NSSquareLineCapStyle", NSSquareLineCapStyle },
-	 { "NSMiterLineJoinStyle", NSMiterLineJoinStyle },
-	 { "NSRoundLineJoinStyle", NSRoundLineJoinStyle },
-	 { "NSBevelLineJoinStyle", NSBevelLineJoinStyle },
-	 { "NSNonZeroWindingRule", NSNonZeroWindingRule },
-	 { "NSEvenOddWindingRule", NSEvenOddWindingRule },
-	 { "NSMoveToBezierPathElement", NSMoveToBezierPathElement },
-	 { "NSLineToBezierPathElement", NSLineToBezierPathElement },
-	 { "NSCurveToBezierPathElement", NSCurveToBezierPathElement },
-	 { "NSClosePathBezierPathElement", NSClosePathBezierPathElement },
-
-	/* From: NSBitmapImageRep.h */
-	 { "NSTIFFCompressionNone", NSTIFFCompressionNone },
-	 { "NSTIFFCompressionCCITTFAX3", NSTIFFCompressionCCITTFAX3 },
-	 { "NSTIFFCompressionCCITTFAX4", NSTIFFCompressionCCITTFAX4 },
-	 { "NSTIFFCompressionLZW", NSTIFFCompressionLZW },
-	 { "NSTIFFCompressionJPEG", NSTIFFCompressionJPEG },
-	 { "NSTIFFCompressionNEXT", NSTIFFCompressionNEXT },
-	 { "NSTIFFCompressionPackBits", NSTIFFCompressionPackBits },
-	 { "NSTIFFCompressionOldJPEG", NSTIFFCompressionOldJPEG },
-	 { "NSTIFFFileType", NSTIFFFileType },
-	 { "NSBMPFileType", NSBMPFileType },
-	 { "NSGIFFileType", NSGIFFileType },
-	 { "NSJPEGFileType", NSJPEGFileType },
-	 { "NSPNGFileType", NSPNGFileType },
-	 { "NSImageRepLoadStatusUnknownType", NSImageRepLoadStatusUnknownType },
-	 { "NSImageRepLoadStatusReadingHeader", NSImageRepLoadStatusReadingHeader },
-	 { "NSImageRepLoadStatusWillNeedAllData", NSImageRepLoadStatusWillNeedAllData },
-	 { "NSImageRepLoadStatusInvalidData", NSImageRepLoadStatusInvalidData },
-	 { "NSImageRepLoadStatusUnexpectedEOF", NSImageRepLoadStatusUnexpectedEOF },
-	 { "NSImageRepLoadStatusCompleted", NSImageRepLoadStatusCompleted },
-
-	/* From: NSBox.h */
-	 { "NSNoTitle", NSNoTitle },
-	 { "NSAboveTop", NSAboveTop },
-	 { "NSAtTop", NSAtTop },
-	 { "NSBelowTop", NSBelowTop },
-	 { "NSAboveBottom", NSAboveBottom },
-	 { "NSAtBottom", NSAtBottom },
-	 { "NSBelowBottom", NSBelowBottom },
-	 { "NSBoxPrimary", NSBoxPrimary },
-	 { "NSBoxSecondary", NSBoxSecondary },
-	 { "NSBoxSeparator", NSBoxSeparator },
-	 { "NSBoxOldStyle", NSBoxOldStyle },
-
-	/* From: NSBrowser.h */
-
-	/* From: NSBrowserCell.h */
-
-	/* From: NSButton.h */
-
-	/* From: NSButtonCell.h */
-	 { "NSMomentaryLightButton", NSMomentaryLightButton },
-	 { "NSPushOnPushOffButton", NSPushOnPushOffButton },
-	 { "NSToggleButton", NSToggleButton },
-	 { "NSSwitchButton", NSSwitchButton },
-	 { "NSRadioButton", NSRadioButton },
-	 { "NSMomentaryChangeButton", NSMomentaryChangeButton },
-	 { "NSOnOffButton", NSOnOffButton },
-	 { "NSMomentaryPushInButton", NSMomentaryPushInButton },
-	 { "NSMomentaryPushButton", NSMomentaryPushButton },
-	 { "NSMomentaryLight", NSMomentaryLight },
-	 { "NSRoundedBezelStyle", NSRoundedBezelStyle },
-	 { "NSRegularSquareBezelStyle", NSRegularSquareBezelStyle },
-	 { "NSThickSquareBezelStyle", NSThickSquareBezelStyle },
-	 { "NSThickerSquareBezelStyle", NSThickerSquareBezelStyle },
-	 { "NSShadowlessSquareBezelStyle", NSShadowlessSquareBezelStyle },
-	 { "NSCircularBezelStyle", NSCircularBezelStyle },
-	 { "NSSmallIconButtonBezelStyle", NSSmallIconButtonBezelStyle },
-	 { "NSGradientNone", NSGradientNone },
-	 { "NSGradientConcaveWeak", NSGradientConcaveWeak },
-	 { "NSGradientConcaveStrong", NSGradientConcaveStrong },
-	 { "NSGradientConvexWeak", NSGradientConvexWeak },
-	 { "NSGradientConvexStrong", NSGradientConvexStrong },
-
-	/* From: NSCachedImageRep.h */
-
-	/* From: NSCell.h */
-	 { "NSAnyType", NSAnyType },
-	 { "NSIntType", NSIntType },
-	 { "NSPositiveIntType", NSPositiveIntType },
-	 { "NSFloatType", NSFloatType },
-	 { "NSPositiveFloatType", NSPositiveFloatType },
-	 { "NSDoubleType", NSDoubleType },
-	 { "NSPositiveDoubleType", NSPositiveDoubleType },
-	 { "NSNullCellType", NSNullCellType },
-	 { "NSTextCellType", NSTextCellType },
-	 { "NSImageCellType", NSImageCellType },
-	 { "NSCellDisabled", NSCellDisabled },
-	 { "NSCellState", NSCellState },
-	 { "NSPushInCell", NSPushInCell },
-	 { "NSCellEditable", NSCellEditable },
-	 { "NSChangeGrayCell", NSChangeGrayCell },
-	 { "NSCellHighlighted", NSCellHighlighted },
-	 { "NSCellLightsByContents", NSCellLightsByContents },
-	 { "NSCellLightsByGray", NSCellLightsByGray },
-	 { "NSChangeBackgroundCell", NSChangeBackgroundCell },
-	 { "NSCellLightsByBackground", NSCellLightsByBackground },
-	 { "NSCellIsBordered", NSCellIsBordered },
-	 { "NSCellHasOverlappingImage", NSCellHasOverlappingImage },
-	 { "NSCellHasImageHorizontal", NSCellHasImageHorizontal },
-	 { "NSCellHasImageOnLeftOrBottom", NSCellHasImageOnLeftOrBottom },
-	 { "NSCellChangesContents", NSCellChangesContents },
-	 { "NSCellIsInsetButton", NSCellIsInsetButton },
-	 { "NSCellAllowsMixedState", NSCellAllowsMixedState },
-	 { "NSNoImage", NSNoImage },
-	 { "NSImageOnly", NSImageOnly },
-	 { "NSImageLeft", NSImageLeft },
-	 { "NSImageRight", NSImageRight },
-	 { "NSImageBelow", NSImageBelow },
-	 { "NSImageAbove", NSImageAbove },
-	 { "NSImageOverlaps", NSImageOverlaps },
-	 { "NSMixedState", NSMixedState },
-	 { "NSOffState", NSOffState },
-	 { "NSOnState", NSOnState },
-	 { "NSNoCellMask", NSNoCellMask },
-	 { "NSContentsCellMask", NSContentsCellMask },
-	 { "NSPushInCellMask", NSPushInCellMask },
-	 { "NSChangeGrayCellMask", NSChangeGrayCellMask },
-	 { "NSChangeBackgroundCellMask", NSChangeBackgroundCellMask },
-	 { "NSDefaultControlTint", NSDefaultControlTint },
-	 { "NSClearControlTint", NSClearControlTint },
-	 { "NSRegularControlSize", NSRegularControlSize },
-	 { "NSSmallControlSize", NSSmallControlSize },
-
-	/* From: NSClipView.h */
-
-	/* From: NSColor.h */
-
-	/* From: NSColorList.h */
-
-	/* From: NSColorPanel.h */
-	 { "NSGrayModeColorPanel", NSGrayModeColorPanel },
-	 { "NSRGBModeColorPanel", NSRGBModeColorPanel },
-	 { "NSCMYKModeColorPanel", NSCMYKModeColorPanel },
-	 { "NSHSBModeColorPanel", NSHSBModeColorPanel },
-	 { "NSCustomPaletteModeColorPanel", NSCustomPaletteModeColorPanel },
-	 { "NSColorListModeColorPanel", NSColorListModeColorPanel },
-	 { "NSWheelModeColorPanel", NSWheelModeColorPanel },
-	 { "NSCrayonModeColorPanel", NSCrayonModeColorPanel },
-	 { "NSColorPanelGrayModeMask", NSColorPanelGrayModeMask },
-	 { "NSColorPanelRGBModeMask", NSColorPanelRGBModeMask },
-	 { "NSColorPanelCMYKModeMask", NSColorPanelCMYKModeMask },
-	 { "NSColorPanelHSBModeMask", NSColorPanelHSBModeMask },
-	 { "NSColorPanelCustomPaletteModeMask", NSColorPanelCustomPaletteModeMask },
-	 { "NSColorPanelColorListModeMask", NSColorPanelColorListModeMask },
-	 { "NSColorPanelWheelModeMask", NSColorPanelWheelModeMask },
-	 { "NSColorPanelCrayonModeMask", NSColorPanelCrayonModeMask },
-	 { "NSColorPanelAllModesMask", NSColorPanelAllModesMask },
-
-	/* From: NSColorPicker.h */
-
-	/* From: NSColorPicking.h */
-
-	/* From: NSColorWell.h */
-
-	/* From: NSComboBox.h */
-
-	/* From: NSComboBoxCell.h */
-
-	/* From: NSControl.h */
-
-	/* From: NSCursor.h */
-
-	/* From: NSCustomImageRep.h */
-
-	/* From: NSDocument.h */
-	 { "NSChangeDone", NSChangeDone },
-	 { "NSChangeUndone", NSChangeUndone },
-	 { "NSChangeCleared", NSChangeCleared },
-	 { "NSSaveOperation", NSSaveOperation },
-	 { "NSSaveAsOperation", NSSaveAsOperation },
-	 { "NSSaveToOperation", NSSaveToOperation },
-
-	/* From: NSDocumentController.h */
-
-	/* From: NSDocumentScripting.h */
-
-	/* From: NSDragging.h */
-	 { "NSDragOperationNone", NSDragOperationNone },
-	 { "NSDragOperationCopy", NSDragOperationCopy },
-	 { "NSDragOperationLink", NSDragOperationLink },
-	 { "NSDragOperationGeneric", NSDragOperationGeneric },
-	 { "NSDragOperationPrivate", NSDragOperationPrivate },
-	 { "NSDragOperationAll_Obsolete", NSDragOperationAll_Obsolete },
-	 { "NSDragOperationMove", NSDragOperationMove },
-	 { "NSDragOperationDelete", NSDragOperationDelete },
-	 { "NSDragOperationEvery", NSDragOperationEvery },
-
-	/* From: NSDrawer.h */
-	 { "NSDrawerClosedState", NSDrawerClosedState },
-	 { "NSDrawerOpeningState", NSDrawerOpeningState },
-	 { "NSDrawerOpenState", NSDrawerOpenState },
-	 { "NSDrawerClosingState", NSDrawerClosingState },
-
-	/* From: NSEPSImageRep.h */
-
-	/* From: NSErrors.h */
-
-	/* From: NSEvent.h */
-	 { "NSLeftMouseDown", NSLeftMouseDown },
-	 { "NSLeftMouseUp", NSLeftMouseUp },
-	 { "NSRightMouseDown", NSRightMouseDown },
-	 { "NSRightMouseUp", NSRightMouseUp },
-	 { "NSMouseMoved", NSMouseMoved },
-	 { "NSLeftMouseDragged", NSLeftMouseDragged },
-	 { "NSRightMouseDragged", NSRightMouseDragged },
-	 { "NSMouseEntered", NSMouseEntered },
-	 { "NSMouseExited", NSMouseExited },
-	 { "NSKeyDown", NSKeyDown },
-	 { "NSKeyUp", NSKeyUp },
-	 { "NSFlagsChanged", NSFlagsChanged },
-	 { "NSAppKitDefined", NSAppKitDefined },
-	 { "NSSystemDefined", NSSystemDefined },
-	 { "NSApplicationDefined", NSApplicationDefined },
-	 { "NSPeriodic", NSPeriodic },
-	 { "NSCursorUpdate", NSCursorUpdate },
-	 { "NSScrollWheel", NSScrollWheel },
-	 { "NSOtherMouseDown", NSOtherMouseDown },
-	 { "NSOtherMouseUp", NSOtherMouseUp },
-	 { "NSOtherMouseDragged", NSOtherMouseDragged },
-	 { "NSLeftMouseDownMask", NSLeftMouseDownMask },
-	 { "NSLeftMouseUpMask", NSLeftMouseUpMask },
-	 { "NSRightMouseDownMask", NSRightMouseDownMask },
-	 { "NSRightMouseUpMask", NSRightMouseUpMask },
-	 { "NSMouseMovedMask", NSMouseMovedMask },
-	 { "NSLeftMouseDraggedMask", NSLeftMouseDraggedMask },
-	 { "NSRightMouseDraggedMask", NSRightMouseDraggedMask },
-	 { "NSMouseEnteredMask", NSMouseEnteredMask },
-	 { "NSMouseExitedMask", NSMouseExitedMask },
-	 { "NSKeyDownMask", NSKeyDownMask },
-	 { "NSKeyUpMask", NSKeyUpMask },
-	 { "NSFlagsChangedMask", NSFlagsChangedMask },
-	 { "NSAppKitDefinedMask", NSAppKitDefinedMask },
-	 { "NSSystemDefinedMask", NSSystemDefinedMask },
-	 { "NSApplicationDefinedMask", NSApplicationDefinedMask },
-	 { "NSPeriodicMask", NSPeriodicMask },
-	 { "NSCursorUpdateMask", NSCursorUpdateMask },
-	 { "NSScrollWheelMask", NSScrollWheelMask },
-	 { "NSOtherMouseDownMask", NSOtherMouseDownMask },
-	 { "NSOtherMouseUpMask", NSOtherMouseUpMask },
-	 { "NSOtherMouseDraggedMask", NSOtherMouseDraggedMask },
-	 { "NSAnyEventMask", NSAnyEventMask },
-	 { "NSAlphaShiftKeyMask", NSAlphaShiftKeyMask },
-	 { "NSShiftKeyMask", NSShiftKeyMask },
-	 { "NSControlKeyMask", NSControlKeyMask },
-	 { "NSAlternateKeyMask", NSAlternateKeyMask },
-	 { "NSCommandKeyMask", NSCommandKeyMask },
-	 { "NSNumericPadKeyMask", NSNumericPadKeyMask },
-	 { "NSHelpKeyMask", NSHelpKeyMask },
-	 { "NSFunctionKeyMask", NSFunctionKeyMask },
-	 { "NSUpArrowFunctionKey", NSUpArrowFunctionKey },
-	 { "NSDownArrowFunctionKey", NSDownArrowFunctionKey },
-	 { "NSLeftArrowFunctionKey", NSLeftArrowFunctionKey },
-	 { "NSRightArrowFunctionKey", NSRightArrowFunctionKey },
-	 { "NSF1FunctionKey", NSF1FunctionKey },
-	 { "NSF2FunctionKey", NSF2FunctionKey },
-	 { "NSF3FunctionKey", NSF3FunctionKey },
-	 { "NSF4FunctionKey", NSF4FunctionKey },
-	 { "NSF5FunctionKey", NSF5FunctionKey },
-	 { "NSF6FunctionKey", NSF6FunctionKey },
-	 { "NSF7FunctionKey", NSF7FunctionKey },
-	 { "NSF8FunctionKey", NSF8FunctionKey },
-	 { "NSF9FunctionKey", NSF9FunctionKey },
-	 { "NSF10FunctionKey", NSF10FunctionKey },
-	 { "NSF11FunctionKey", NSF11FunctionKey },
-	 { "NSF12FunctionKey", NSF12FunctionKey },
-	 { "NSF13FunctionKey", NSF13FunctionKey },
-	 { "NSF14FunctionKey", NSF14FunctionKey },
-	 { "NSF15FunctionKey", NSF15FunctionKey },
-	 { "NSF16FunctionKey", NSF16FunctionKey },
-	 { "NSF17FunctionKey", NSF17FunctionKey },
-	 { "NSF18FunctionKey", NSF18FunctionKey },
-	 { "NSF19FunctionKey", NSF19FunctionKey },
-	 { "NSF20FunctionKey", NSF20FunctionKey },
-	 { "NSF21FunctionKey", NSF21FunctionKey },
-	 { "NSF22FunctionKey", NSF22FunctionKey },
-	 { "NSF23FunctionKey", NSF23FunctionKey },
-	 { "NSF24FunctionKey", NSF24FunctionKey },
-	 { "NSF25FunctionKey", NSF25FunctionKey },
-	 { "NSF26FunctionKey", NSF26FunctionKey },
-	 { "NSF27FunctionKey", NSF27FunctionKey },
-	 { "NSF28FunctionKey", NSF28FunctionKey },
-	 { "NSF29FunctionKey", NSF29FunctionKey },
-	 { "NSF30FunctionKey", NSF30FunctionKey },
-	 { "NSF31FunctionKey", NSF31FunctionKey },
-	 { "NSF32FunctionKey", NSF32FunctionKey },
-	 { "NSF33FunctionKey", NSF33FunctionKey },
-	 { "NSF34FunctionKey", NSF34FunctionKey },
-	 { "NSF35FunctionKey", NSF35FunctionKey },
-	 { "NSInsertFunctionKey", NSInsertFunctionKey },
-	 { "NSDeleteFunctionKey", NSDeleteFunctionKey },
-	 { "NSHomeFunctionKey", NSHomeFunctionKey },
-	 { "NSBeginFunctionKey", NSBeginFunctionKey },
-	 { "NSEndFunctionKey", NSEndFunctionKey },
-	 { "NSPageUpFunctionKey", NSPageUpFunctionKey },
-	 { "NSPageDownFunctionKey", NSPageDownFunctionKey },
-	 { "NSPrintScreenFunctionKey", NSPrintScreenFunctionKey },
-	 { "NSScrollLockFunctionKey", NSScrollLockFunctionKey },
-	 { "NSPauseFunctionKey", NSPauseFunctionKey },
-	 { "NSSysReqFunctionKey", NSSysReqFunctionKey },
-	 { "NSBreakFunctionKey", NSBreakFunctionKey },
-	 { "NSResetFunctionKey", NSResetFunctionKey },
-	 { "NSStopFunctionKey", NSStopFunctionKey },
-	 { "NSMenuFunctionKey", NSMenuFunctionKey },
-	 { "NSUserFunctionKey", NSUserFunctionKey },
-	 { "NSSystemFunctionKey", NSSystemFunctionKey },
-	 { "NSPrintFunctionKey", NSPrintFunctionKey },
-	 { "NSClearLineFunctionKey", NSClearLineFunctionKey },
-	 { "NSClearDisplayFunctionKey", NSClearDisplayFunctionKey },
-	 { "NSInsertLineFunctionKey", NSInsertLineFunctionKey },
-	 { "NSDeleteLineFunctionKey", NSDeleteLineFunctionKey },
-	 { "NSInsertCharFunctionKey", NSInsertCharFunctionKey },
-	 { "NSDeleteCharFunctionKey", NSDeleteCharFunctionKey },
-	 { "NSPrevFunctionKey", NSPrevFunctionKey },
-	 { "NSNextFunctionKey", NSNextFunctionKey },
-	 { "NSSelectFunctionKey", NSSelectFunctionKey },
-	 { "NSExecuteFunctionKey", NSExecuteFunctionKey },
-	 { "NSUndoFunctionKey", NSUndoFunctionKey },
-	 { "NSRedoFunctionKey", NSRedoFunctionKey },
-	 { "NSFindFunctionKey", NSFindFunctionKey },
-	 { "NSHelpFunctionKey", NSHelpFunctionKey },
-	 { "NSModeSwitchFunctionKey", NSModeSwitchFunctionKey },
-	 { "NSWindowExposedEventType", NSWindowExposedEventType },
-	 { "NSApplicationActivatedEventType", NSApplicationActivatedEventType },
-	 { "NSApplicationDeactivatedEventType", NSApplicationDeactivatedEventType },
-	 { "NSWindowMovedEventType", NSWindowMovedEventType },
-	 { "NSScreenChangedEventType", NSScreenChangedEventType },
-	 { "NSAWTEventType", NSAWTEventType },
-	 { "NSPowerOffEventType", NSPowerOffEventType },
-
-	/* From: NSExtendedUndoManager.h */
-
-	/* From: NSFileWrapper.h */
-
-	/* From: NSFont.h */
-	 { "NSControlGlyph", NSControlGlyph },
-	 { "NSNullGlyph", NSNullGlyph },
-	 { "NSGlyphBelow", NSGlyphBelow },
-	 { "NSGlyphAbove", NSGlyphAbove },
-	 { "NSOneByteGlyphPacking", NSOneByteGlyphPacking },
-	 { "NSJapaneseEUCGlyphPacking", NSJapaneseEUCGlyphPacking },
-	 { "NSAsciiWithDoubleByteEUCGlyphPacking", NSAsciiWithDoubleByteEUCGlyphPacking },
-	 { "NSTwoByteGlyphPacking", NSTwoByteGlyphPacking },
-	 { "NSFourByteGlyphPacking", NSFourByteGlyphPacking },
-	 { "NSNativeShortGlyphPacking", NSNativeShortGlyphPacking },
-
-	/* From: NSFontManager.h */
-	 { "NSItalicFontMask", NSItalicFontMask },
-	 { "NSBoldFontMask", NSBoldFontMask },
-	 { "NSUnboldFontMask", NSUnboldFontMask },
-	 { "NSNonStandardCharacterSetFontMask", NSNonStandardCharacterSetFontMask },
-	 { "NSNarrowFontMask", NSNarrowFontMask },
-	 { "NSExpandedFontMask", NSExpandedFontMask },
-	 { "NSCondensedFontMask", NSCondensedFontMask },
-	 { "NSSmallCapsFontMask", NSSmallCapsFontMask },
-	 { "NSPosterFontMask", NSPosterFontMask },
-	 { "NSCompressedFontMask", NSCompressedFontMask },
-	 { "NSFixedPitchFontMask", NSFixedPitchFontMask },
-	 { "NSUnitalicFontMask", NSUnitalicFontMask },
-	 { "NSNoFontChangeAction", NSNoFontChangeAction },
-	 { "NSViaPanelFontAction", NSViaPanelFontAction },
-	 { "NSAddTraitFontAction", NSAddTraitFontAction },
-	 { "NSSizeUpFontAction", NSSizeUpFontAction },
-	 { "NSSizeDownFontAction", NSSizeDownFontAction },
-	 { "NSHeavierFontAction", NSHeavierFontAction },
-	 { "NSLighterFontAction", NSLighterFontAction },
-	 { "NSRemoveTraitFontAction", NSRemoveTraitFontAction },
-
-	/* From: NSFontPanel.h */
-	 { "NSFPPreviewButton", NSFPPreviewButton },
-	 { "NSFPRevertButton", NSFPRevertButton },
-	 { "NSFPSetButton", NSFPSetButton },
-	 { "NSFPPreviewField", NSFPPreviewField },
-	 { "NSFPSizeField", NSFPSizeField },
-	 { "NSFPSizeTitle", NSFPSizeTitle },
-	 { "NSFPCurrentField", NSFPCurrentField },
-
-	/* From: NSForm.h */
-
-	/* From: NSFormCell.h */
-
-	/* From: NSGlyphInfo.h */
-	 { "NSIdentityMappingCharacterCollection", NSIdentityMappingCharacterCollection },
-	 { "NSAdobeCNS1CharacterCollection", NSAdobeCNS1CharacterCollection },
-	 { "NSAdobeGB1CharacterCollection", NSAdobeGB1CharacterCollection },
-	 { "NSAdobeJapan1CharacterCollection", NSAdobeJapan1CharacterCollection },
-	 { "NSAdobeJapan2CharacterCollection", NSAdobeJapan2CharacterCollection },
-	 { "NSAdobeKorea1CharacterCollection", NSAdobeKorea1CharacterCollection },
-
-	/* From: NSGraphics.h */
-	 { "NSCompositeClear", NSCompositeClear },
-	 { "NSCompositeCopy", NSCompositeCopy },
-	 { "NSCompositeSourceOver", NSCompositeSourceOver },
-	 { "NSCompositeSourceIn", NSCompositeSourceIn },
-	 { "NSCompositeSourceOut", NSCompositeSourceOut },
-	 { "NSCompositeSourceAtop", NSCompositeSourceAtop },
-	 { "NSCompositeDestinationOver", NSCompositeDestinationOver },
-	 { "NSCompositeDestinationIn", NSCompositeDestinationIn },
-	 { "NSCompositeDestinationOut", NSCompositeDestinationOut },
-	 { "NSCompositeDestinationAtop", NSCompositeDestinationAtop },
-	 { "NSCompositeXOR", NSCompositeXOR },
-	 { "NSCompositePlusDarker", NSCompositePlusDarker },
-	 { "NSCompositeHighlight", NSCompositeHighlight },
-	 { "NSCompositePlusLighter", NSCompositePlusLighter },
-	 { "NSAlphaEqualToData", NSAlphaEqualToData },
-	 { "NSAlphaAlwaysOne", NSAlphaAlwaysOne },
-	 { "NSBackingStoreRetained", NSBackingStoreRetained },
-	 { "NSBackingStoreNonretained", NSBackingStoreNonretained },
-	 { "NSBackingStoreBuffered", NSBackingStoreBuffered },
-	 { "NSWindowAbove", NSWindowAbove },
-	 { "NSWindowBelow", NSWindowBelow },
-	 { "NSWindowOut", NSWindowOut },
-	 { "NSFocusRingOnly", NSFocusRingOnly },
-	 { "NSFocusRingBelow", NSFocusRingBelow },
-	 { "NSFocusRingAbove", NSFocusRingAbove },
-
-	/* From: NSGraphicsContext.h */
-	 { "NSImageInterpolationDefault", NSImageInterpolationDefault },
-	 { "NSImageInterpolationNone", NSImageInterpolationNone },
-	 { "NSImageInterpolationLow", NSImageInterpolationLow },
-	 { "NSImageInterpolationHigh", NSImageInterpolationHigh },
-
-	/* From: NSHelpManager.h */
-
-	/* From: NSImage.h */
-	 { "NSImageLoadStatusCompleted", NSImageLoadStatusCompleted },
-	 { "NSImageLoadStatusCancelled", NSImageLoadStatusCancelled },
-	 { "NSImageLoadStatusInvalidData", NSImageLoadStatusInvalidData },
-	 { "NSImageLoadStatusUnexpectedEOF", NSImageLoadStatusUnexpectedEOF },
-	 { "NSImageLoadStatusReadError", NSImageLoadStatusReadError },
-	 { "NSImageCacheDefault", NSImageCacheDefault },
-	 { "NSImageCacheAlways", NSImageCacheAlways },
-	 { "NSImageCacheBySize", NSImageCacheBySize },
-	 { "NSImageCacheNever", NSImageCacheNever },
-
-	/* From: NSImageCell.h */
-	 { "NSScaleProportionally", NSScaleProportionally },
-	 { "NSScaleToFit", NSScaleToFit },
-	 { "NSScaleNone", NSScaleNone },
-	 { "NSImageAlignCenter", NSImageAlignCenter },
-	 { "NSImageAlignTop", NSImageAlignTop },
-	 { "NSImageAlignTopLeft", NSImageAlignTopLeft },
-	 { "NSImageAlignTopRight", NSImageAlignTopRight },
-	 { "NSImageAlignLeft", NSImageAlignLeft },
-	 { "NSImageAlignBottom", NSImageAlignBottom },
-	 { "NSImageAlignBottomLeft", NSImageAlignBottomLeft },
-	 { "NSImageAlignBottomRight", NSImageAlignBottomRight },
-	 { "NSImageAlignRight", NSImageAlignRight },
-	 { "NSImageFrameNone", NSImageFrameNone },
-	 { "NSImageFramePhoto", NSImageFramePhoto },
-	 { "NSImageFrameGrayBezel", NSImageFrameGrayBezel },
-	 { "NSImageFrameGroove", NSImageFrameGroove },
-	 { "NSImageFrameButton", NSImageFrameButton },
-
-	/* From: NSImageRep.h */
-	 { "NSImageRepMatchesDevice", NSImageRepMatchesDevice },
-
-	/* From: NSImageView.h */
-
-	/* From: NSInputManager.h */
-
-	/* From: NSInputServer.h */
-
-	/* From: NSInterfaceStyle.h */
-	 { "NSNoInterfaceStyle", NSNoInterfaceStyle },
-	 { "NSNextStepInterfaceStyle", NSNextStepInterfaceStyle },
-	 { "NSWindows95InterfaceStyle", NSWindows95InterfaceStyle },
-	 { "NSMacintoshInterfaceStyle", NSMacintoshInterfaceStyle },
-
-	/* From: NSLayoutManager.h */
-	 { "NSGlyphAttributeSoft", NSGlyphAttributeSoft },
-	 { "NSGlyphAttributeElastic", NSGlyphAttributeElastic },
-	 { "NSGlyphAttributeBidiLevel", NSGlyphAttributeBidiLevel },
-	 { "NSGlyphAttributeInscribe", NSGlyphAttributeInscribe },
-	 { "NSGlyphInscribeBase", NSGlyphInscribeBase },
-	 { "NSGlyphInscribeBelow", NSGlyphInscribeBelow },
-	 { "NSGlyphInscribeAbove", NSGlyphInscribeAbove },
-	 { "NSGlyphInscribeOverstrike", NSGlyphInscribeOverstrike },
-	 { "NSGlyphInscribeOverBelow", NSGlyphInscribeOverBelow },
-	 { "NSTypesetterLatestBehavior", NSTypesetterLatestBehavior },
-	 { "NSTypesetterOriginalBehavior", NSTypesetterOriginalBehavior },
-	 { "NSTypesetterBehavior_10_2_WithCompatibility", NSTypesetterBehavior_10_2_WithCompatibility },
-	 { "NSTypesetterBehavior_10_2", NSTypesetterBehavior_10_2 },
-
-	/* From: NSMatrix.h */
-	 { "NSRadioModeMatrix", NSRadioModeMatrix },
-	 { "NSHighlightModeMatrix", NSHighlightModeMatrix },
-	 { "NSListModeMatrix", NSListModeMatrix },
-	 { "NSTrackModeMatrix", NSTrackModeMatrix },
-
-	/* From: NSMenu.h */
-
-	/* From: NSMenuItem.h */
-
-	/* From: NSMenuItemCell.h */
-
-	/* From: NSMenuView.h */
-
-	/* From: NSMovie.h */
-
-	/* From: NSMovieView.h */
-	 { "NSQTMovieNormalPlayback", NSQTMovieNormalPlayback },
-	 { "NSQTMovieLoopingPlayback", NSQTMovieLoopingPlayback },
-	 { "NSQTMovieLoopingBackAndForthPlayback", NSQTMovieLoopingBackAndForthPlayback },
-
-	/* From: NSNibConnector.h */
-
-	/* From: NSNibControlConnector.h */
-
-	/* From: NSNibDeclarations.h */
-
-	/* From: NSNibLoading.h */
-
-	/* From: NSNibOutletConnector.h */
-
-	/* From: NSOpenGL.h */
-	 { "NSOpenGLGOFormatCacheSize", NSOpenGLGOFormatCacheSize },
-	 { "NSOpenGLGOClearFormatCache", NSOpenGLGOClearFormatCache },
-	 { "NSOpenGLGORetainRenderers", NSOpenGLGORetainRenderers },
-	 { "NSOpenGLGOResetLibrary", NSOpenGLGOResetLibrary },
-	 { "NSOpenGLPFAAllRenderers", NSOpenGLPFAAllRenderers },
-	 { "NSOpenGLPFADoubleBuffer", NSOpenGLPFADoubleBuffer },
-	 { "NSOpenGLPFAStereo", NSOpenGLPFAStereo },
-	 { "NSOpenGLPFAAuxBuffers", NSOpenGLPFAAuxBuffers },
-	 { "NSOpenGLPFAColorSize", NSOpenGLPFAColorSize },
-	 { "NSOpenGLPFAAlphaSize", NSOpenGLPFAAlphaSize },
-	 { "NSOpenGLPFADepthSize", NSOpenGLPFADepthSize },
-	 { "NSOpenGLPFAStencilSize", NSOpenGLPFAStencilSize },
-	 { "NSOpenGLPFAAccumSize", NSOpenGLPFAAccumSize },
-	 { "NSOpenGLPFAMinimumPolicy", NSOpenGLPFAMinimumPolicy },
-	 { "NSOpenGLPFAMaximumPolicy", NSOpenGLPFAMaximumPolicy },
-	 { "NSOpenGLPFAOffScreen", NSOpenGLPFAOffScreen },
-	 { "NSOpenGLPFAFullScreen", NSOpenGLPFAFullScreen },
-	 { "NSOpenGLPFASampleBuffers", NSOpenGLPFASampleBuffers },
-	 { "NSOpenGLPFASamples", NSOpenGLPFASamples },
-	 { "NSOpenGLPFAAuxDepthStencil", NSOpenGLPFAAuxDepthStencil },
-	 { "NSOpenGLPFARendererID", NSOpenGLPFARendererID },
-	 { "NSOpenGLPFASingleRenderer", NSOpenGLPFASingleRenderer },
-	 { "NSOpenGLPFANoRecovery", NSOpenGLPFANoRecovery },
-	 { "NSOpenGLPFAAccelerated", NSOpenGLPFAAccelerated },
-	 { "NSOpenGLPFAClosestPolicy", NSOpenGLPFAClosestPolicy },
-	 { "NSOpenGLPFARobust", NSOpenGLPFARobust },
-	 { "NSOpenGLPFABackingStore", NSOpenGLPFABackingStore },
-	 { "NSOpenGLPFAMPSafe", NSOpenGLPFAMPSafe },
-	 { "NSOpenGLPFAWindow", NSOpenGLPFAWindow },
-	 { "NSOpenGLPFAMultiScreen", NSOpenGLPFAMultiScreen },
-	 { "NSOpenGLPFACompliant", NSOpenGLPFACompliant },
-	 { "NSOpenGLPFAScreenMask", NSOpenGLPFAScreenMask },
-	 { "NSOpenGLPFAVirtualScreenCount", NSOpenGLPFAVirtualScreenCount },
-	 { "NSOpenGLCPSwapRectangle", NSOpenGLCPSwapRectangle },
-	 { "NSOpenGLCPSwapRectangleEnable", NSOpenGLCPSwapRectangleEnable },
-	 { "NSOpenGLCPRasterizationEnable", NSOpenGLCPRasterizationEnable },
-	 { "NSOpenGLCPSwapInterval", NSOpenGLCPSwapInterval },
-	 { "NSOpenGLCPSurfaceOrder", NSOpenGLCPSurfaceOrder },
-	 { "NSOpenGLCPSurfaceOpacity", NSOpenGLCPSurfaceOpacity },
-	 { "NSOpenGLCPStateValidation", NSOpenGLCPStateValidation },
-
-	/* From: NSOpenGLView.h */
-
-	/* From: NSOpenPanel.h */
-
-	/* From: NSOutlineView.h */
-	 { "NSOutlineViewDropOnItemIndex", NSOutlineViewDropOnItemIndex },
-
-	/* From: NSPageLayout.h */
-	 { "NSPLImageButton", NSPLImageButton },
-	 { "NSPLTitleField", NSPLTitleField },
-	 { "NSPLPaperNameButton", NSPLPaperNameButton },
-	 { "NSPLUnitsButton", NSPLUnitsButton },
-	 { "NSPLWidthForm", NSPLWidthForm },
-	 { "NSPLHeightForm", NSPLHeightForm },
-	 { "NSPLOrientationMatrix", NSPLOrientationMatrix },
-	 { "NSPLCancelButton", NSPLCancelButton },
-	 { "NSPLOKButton", NSPLOKButton },
-
-	/* From: NSPanel.h */
-	 { "NSAlertDefaultReturn", NSAlertDefaultReturn },
-	 { "NSAlertAlternateReturn", NSAlertAlternateReturn },
-	 { "NSAlertOtherReturn", NSAlertOtherReturn },
-	 { "NSAlertErrorReturn", NSAlertErrorReturn },
-	 { "NSOKButton", NSOKButton },
-	 { "NSCancelButton", NSCancelButton },
-	 { "NSUtilityWindowMask", NSUtilityWindowMask },
-	 { "NSDocModalWindowMask", NSDocModalWindowMask },
-	 { "NSNonactivatingPanelMask", NSNonactivatingPanelMask },
-
-	/* From: NSParagraphStyle.h */
-	 { "NSLeftTabStopType", NSLeftTabStopType },
-	 { "NSRightTabStopType", NSRightTabStopType },
-	 { "NSCenterTabStopType", NSCenterTabStopType },
-	 { "NSDecimalTabStopType", NSDecimalTabStopType },
-	 { "NSLineBreakByWordWrapping", NSLineBreakByWordWrapping },
-	 { "NSLineBreakByCharWrapping", NSLineBreakByCharWrapping },
-	 { "NSLineBreakByClipping", NSLineBreakByClipping },
-	 { "NSLineBreakByTruncatingHead", NSLineBreakByTruncatingHead },
-	 { "NSLineBreakByTruncatingTail", NSLineBreakByTruncatingTail },
-	 { "NSLineBreakByTruncatingMiddle", NSLineBreakByTruncatingMiddle },
-	 { "NSWritingDirectionLeftToRight", NSWritingDirectionLeftToRight },
-	 { "NSWritingDirectionRightToLeft", NSWritingDirectionRightToLeft },
-
-	/* From: NSPasteboard.h */
-
-	/* From: NSPDFImageRep.h */
-
-	/* From: NSPICTImageRep.h */
-
-	/* From: NSPopUpButton.h */
-
-	/* From: NSPopUpButtonCell.h */
-	 { "NSPopUpNoArrow", NSPopUpNoArrow },
-	 { "NSPopUpArrowAtCenter", NSPopUpArrowAtCenter },
-	 { "NSPopUpArrowAtBottom", NSPopUpArrowAtBottom },
-
-	/* From: NSPrinter.h */
-	 { "NSPrinterTableOK", NSPrinterTableOK },
-	 { "NSPrinterTableNotFound", NSPrinterTableNotFound },
-	 { "NSPrinterTableError", NSPrinterTableError },
-
-	/* From: NSPrintInfo.h */
-	 { "NSPortraitOrientation", NSPortraitOrientation },
-	 { "NSLandscapeOrientation", NSLandscapeOrientation },
-	 { "NSAutoPagination", NSAutoPagination },
-	 { "NSFitPagination", NSFitPagination },
-	 { "NSClipPagination", NSClipPagination },
-
-	/* From: NSPrintOperation.h */
-	 { "NSDescendingPageOrder", NSDescendingPageOrder },
-	 { "NSSpecialPageOrder", NSSpecialPageOrder },
-	 { "NSAscendingPageOrder", NSAscendingPageOrder },
-	 { "NSUnknownPageOrder", NSUnknownPageOrder },
-
-	/* From: NSPrintPanel.h */
-	 { "NSPPSaveButton", NSPPSaveButton },
-	 { "NSPPPreviewButton", NSPPPreviewButton },
-	 { "NSFaxButton", NSFaxButton },
-	 { "NSPPTitleField", NSPPTitleField },
-	 { "NSPPImageButton", NSPPImageButton },
-	 { "NSPPNameTitle", NSPPNameTitle },
-	 { "NSPPNameField", NSPPNameField },
-	 { "NSPPNoteTitle", NSPPNoteTitle },
-	 { "NSPPNoteField", NSPPNoteField },
-	 { "NSPPStatusTitle", NSPPStatusTitle },
-	 { "NSPPStatusField", NSPPStatusField },
-	 { "NSPPCopiesField", NSPPCopiesField },
-	 { "NSPPPageChoiceMatrix", NSPPPageChoiceMatrix },
-	 { "NSPPPageRangeFrom", NSPPPageRangeFrom },
-	 { "NSPPPageRangeTo", NSPPPageRangeTo },
-	 { "NSPPScaleField", NSPPScaleField },
-	 { "NSPPOptionsButton", NSPPOptionsButton },
-	 { "NSPPPaperFeedButton", NSPPPaperFeedButton },
-	 { "NSPPLayoutButton", NSPPLayoutButton },
-
-	/* From: NSProgressIndicator.h */
-	 { "NSProgressIndicatorPreferredThickness", NSProgressIndicatorPreferredThickness },
-	 { "NSProgressIndicatorPreferredSmallThickness", NSProgressIndicatorPreferredSmallThickness },
-	 { "NSProgressIndicatorPreferredLargeThickness", NSProgressIndicatorPreferredLargeThickness },
-	 { "NSProgressIndicatorPreferredAquaThickness", NSProgressIndicatorPreferredAquaThickness },
-	 { "NSProgressIndicatorBarStyle", NSProgressIndicatorBarStyle },
-	 { "NSProgressIndicatorSpinningStyle", NSProgressIndicatorSpinningStyle },
-
-	/* From: NSQuickDrawView.h */
-
-	/* From: NSResponder.h */
-
-	/* From: NSRulerMarker.h */
-
-	/* From: NSRulerView.h */
-	 { "NSHorizontalRuler", NSHorizontalRuler },
-	 { "NSVerticalRuler", NSVerticalRuler },
-
-	/* From: NSSavePanel.h */
-	 { "NSFileHandlingPanelImageButton", NSFileHandlingPanelImageButton },
-	 { "NSFileHandlingPanelTitleField", NSFileHandlingPanelTitleField },
-	 { "NSFileHandlingPanelBrowser", NSFileHandlingPanelBrowser },
-	 { "NSFileHandlingPanelCancelButton", NSFileHandlingPanelCancelButton },
-	 { "NSFileHandlingPanelOKButton", NSFileHandlingPanelOKButton },
-	 { "NSFileHandlingPanelForm", NSFileHandlingPanelForm },
-	 { "NSFileHandlingPanelHomeButton", NSFileHandlingPanelHomeButton },
-	 { "NSFileHandlingPanelDiskButton", NSFileHandlingPanelDiskButton },
-	 { "NSFileHandlingPanelDiskEjectButton", NSFileHandlingPanelDiskEjectButton },
-
-	/* From: NSScreen.h */
-
-	/* From: NSScroller.h */
-	 { "NSScrollerArrowsMaxEnd", NSScrollerArrowsMaxEnd },
-	 { "NSScrollerArrowsMinEnd", NSScrollerArrowsMinEnd },
-	 { "NSScrollerArrowsDefaultSetting", NSScrollerArrowsDefaultSetting },
-	 { "NSScrollerArrowsNone", NSScrollerArrowsNone },
-	 { "NSNoScrollerParts", NSNoScrollerParts },
-	 { "NSOnlyScrollerArrows", NSOnlyScrollerArrows },
-	 { "NSAllScrollerParts", NSAllScrollerParts },
-	 { "NSScrollerNoPart", NSScrollerNoPart },
-	 { "NSScrollerDecrementPage", NSScrollerDecrementPage },
-	 { "NSScrollerKnob", NSScrollerKnob },
-	 { "NSScrollerIncrementPage", NSScrollerIncrementPage },
-	 { "NSScrollerDecrementLine", NSScrollerDecrementLine },
-	 { "NSScrollerIncrementLine", NSScrollerIncrementLine },
-	 { "NSScrollerKnobSlot", NSScrollerKnobSlot },
-	 { "NSScrollerIncrementArrow", NSScrollerIncrementArrow },
-	 { "NSScrollerDecrementArrow", NSScrollerDecrementArrow },
-
-	/* From: NSScrollView.h */
-
-	/* From: NSSecureTextField.h */
-
-	/* From: NSSlider.h */
-
-	/* From: NSSliderCell.h */
-	 { "NSTickMarkBelow", NSTickMarkBelow },
-	 { "NSTickMarkAbove", NSTickMarkAbove },
-	 { "NSTickMarkLeft", NSTickMarkLeft },
-	 { "NSTickMarkRight", NSTickMarkRight },
-
-	/* From: NSSound.h */
-
-	/* From: NSSpellChecker.h */
-
-	/* From: NSSpellProtocol.h */
-
-	/* From: NSSpellServer.h */
-
-	/* From: NSSplitView.h */
-
-	/* From: NSStatusBar.h */
-
-	/* From: NSStatusItem.h */
-
-	/* From: NSStepper.h */
-
-	/* From: NSStepperCell.h */
-
-	/* From: NSStringDrawing.h */
-
-	/* From: NSTableColumn.h */
-
-	/* From: NSTableHeaderCell.h */
-
-	/* From: NSTableHeaderView.h */
-
-	/* From: NSTableView.h */
-	 { "NSTableViewDropOn", NSTableViewDropOn },
-	 { "NSTableViewDropAbove", NSTableViewDropAbove },
-
-	/* From: NSTabView.h */
-	 { "NSTopTabsBezelBorder", NSTopTabsBezelBorder },
-	 { "NSLeftTabsBezelBorder", NSLeftTabsBezelBorder },
-	 { "NSBottomTabsBezelBorder", NSBottomTabsBezelBorder },
-	 { "NSRightTabsBezelBorder", NSRightTabsBezelBorder },
-	 { "NSNoTabsBezelBorder", NSNoTabsBezelBorder },
-	 { "NSNoTabsLineBorder", NSNoTabsLineBorder },
-	 { "NSNoTabsNoBorder", NSNoTabsNoBorder },
-
-	/* From: NSTabViewItem.h */
-	 { "NSSelectedTab", NSSelectedTab },
-	 { "NSBackgroundTab", NSBackgroundTab },
-	 { "NSPressedTab", NSPressedTab },
-
-	/* From: NSText.h */
-	 { "NSParagraphSeparatorCharacter", NSParagraphSeparatorCharacter },
-	 { "NSLineSeparatorCharacter", NSLineSeparatorCharacter },
-	 { "NSTabCharacter", NSTabCharacter },
-	 { "NSFormFeedCharacter", NSFormFeedCharacter },
-	 { "NSNewlineCharacter", NSNewlineCharacter },
-	 { "NSCarriageReturnCharacter", NSCarriageReturnCharacter },
-	 { "NSEnterCharacter", NSEnterCharacter },
-	 { "NSBackspaceCharacter", NSBackspaceCharacter },
-	 { "NSBackTabCharacter", NSBackTabCharacter },
-	 { "NSDeleteCharacter", NSDeleteCharacter },
-	 { "NSLeftTextAlignment", NSLeftTextAlignment },
-	 { "NSRightTextAlignment", NSRightTextAlignment },
-	 { "NSCenterTextAlignment", NSCenterTextAlignment },
-	 { "NSJustifiedTextAlignment", NSJustifiedTextAlignment },
-	 { "NSNaturalTextAlignment", NSNaturalTextAlignment },
-	 { "NSIllegalTextMovement", NSIllegalTextMovement },
-	 { "NSReturnTextMovement", NSReturnTextMovement },
-	 { "NSTabTextMovement", NSTabTextMovement },
-	 { "NSBacktabTextMovement", NSBacktabTextMovement },
-	 { "NSLeftTextMovement", NSLeftTextMovement },
-	 { "NSRightTextMovement", NSRightTextMovement },
-	 { "NSUpTextMovement", NSUpTextMovement },
-	 { "NSDownTextMovement", NSDownTextMovement },
-
-	/* From: NSTextAttachment.h */
-	 { "NSAttachmentCharacter", NSAttachmentCharacter },
-
-	/* From: NSTextContainer.h */
-	 { "NSLineSweepLeft", NSLineSweepLeft },
-	 { "NSLineSweepRight", NSLineSweepRight },
-	 { "NSLineSweepDown", NSLineSweepDown },
-	 { "NSLineSweepUp", NSLineSweepUp },
-	 { "NSLineDoesntMove", NSLineDoesntMove },
-	 { "NSLineMovesLeft", NSLineMovesLeft },
-	 { "NSLineMovesRight", NSLineMovesRight },
-	 { "NSLineMovesDown", NSLineMovesDown },
-	 { "NSLineMovesUp", NSLineMovesUp },
-
-	/* From: NSTextField.h */
-
-	/* From: NSTextFieldCell.h */
-	 { "NSTextFieldSquareBezel", NSTextFieldSquareBezel },
-	 { "NSTextFieldRoundedBezel", NSTextFieldRoundedBezel },
-
-	/* From: NSTextStorage.h */
-	 { "NSTextStorageEditedAttributes", NSTextStorageEditedAttributes },
-	 { "NSTextStorageEditedCharacters", NSTextStorageEditedCharacters },
-
-	/* From: NSTextStorageScripting.h */
-
-	/* From: NSTextView.h */
-	 { "NSSelectByCharacter", NSSelectByCharacter },
-	 { "NSSelectByWord", NSSelectByWord },
-	 { "NSSelectByParagraph", NSSelectByParagraph },
-	 { "NSSelectionAffinityUpstream", NSSelectionAffinityUpstream },
-	 { "NSSelectionAffinityDownstream", NSSelectionAffinityDownstream },
-
-	/* From: NSToolbar.h */
-	 { "NSToolbarDisplayModeDefault", NSToolbarDisplayModeDefault },
-	 { "NSToolbarDisplayModeIconAndLabel", NSToolbarDisplayModeIconAndLabel },
-	 { "NSToolbarDisplayModeIconOnly", NSToolbarDisplayModeIconOnly },
-	 { "NSToolbarDisplayModeLabelOnly", NSToolbarDisplayModeLabelOnly },
-	 { "NSToolbarSizeModeDefault", NSToolbarSizeModeDefault },
-	 { "NSToolbarSizeModeRegular", NSToolbarSizeModeRegular },
-	 { "NSToolbarSizeModeSmall", NSToolbarSizeModeSmall },
-
-	/* From: NSToolbarItem.h */
-
-	/* From: NSTypesetter.h */
-	 { "NSLayoutNotDone", NSLayoutNotDone },
-	 { "NSLayoutDone", NSLayoutDone },
-	 { "NSLayoutCantFit", NSLayoutCantFit },
-	 { "NSLayoutOutOfGlyphs", NSLayoutOutOfGlyphs },
-	 { "NSGlyphLayoutAtAPoint", NSGlyphLayoutAtAPoint },
-	 { "NSGlyphLayoutAgainstAPoint", NSGlyphLayoutAgainstAPoint },
-	 { "NSGlyphLayoutWithPrevious", NSGlyphLayoutWithPrevious },
-	 { "NSLayoutLeftToRight", NSLayoutLeftToRight },
-	 { "NSLayoutRightToLeft", NSLayoutRightToLeft },
-
-	/* From: NSUserInterfaceValidation.h */
-
-	/* From: NSView.h */
-	 { "NSViewNotSizable", NSViewNotSizable },
-	 { "NSViewMinXMargin", NSViewMinXMargin },
-	 { "NSViewWidthSizable", NSViewWidthSizable },
-	 { "NSViewMaxXMargin", NSViewMaxXMargin },
-	 { "NSViewMinYMargin", NSViewMinYMargin },
-	 { "NSViewHeightSizable", NSViewHeightSizable },
-	 { "NSViewMaxYMargin", NSViewMaxYMargin },
-	 { "NSNoBorder", NSNoBorder },
-	 { "NSLineBorder", NSLineBorder },
-	 { "NSBezelBorder", NSBezelBorder },
-	 { "NSGrooveBorder", NSGrooveBorder },
-
-	/* From: NSWindow.h */
-	 { "NSBorderlessWindowMask", NSBorderlessWindowMask },
-	 { "NSTitledWindowMask", NSTitledWindowMask },
-	 { "NSClosableWindowMask", NSClosableWindowMask },
-	 { "NSMiniaturizableWindowMask", NSMiniaturizableWindowMask },
-	 { "NSResizableWindowMask", NSResizableWindowMask },
-	 { "NSTexturedBackgroundWindowMask", NSTexturedBackgroundWindowMask },
-	 { "NSDisplayWindowRunLoopOrdering", NSDisplayWindowRunLoopOrdering },
-	 { "NSResetCursorRectsRunLoopOrdering", NSResetCursorRectsRunLoopOrdering },
-	 { "NSDirectSelection", NSDirectSelection },
-	 { "NSSelectingNext", NSSelectingNext },
-	 { "NSSelectingPrevious", NSSelectingPrevious },
-	 { "NSWindowCloseButton", NSWindowCloseButton },
-	 { "NSWindowMiniaturizeButton", NSWindowMiniaturizeButton },
-	 { "NSWindowZoomButton", NSWindowZoomButton },
-	 { "NSWindowToolbarButton", NSWindowToolbarButton },
-	 { "NSWindowDocumentIconButton", NSWindowDocumentIconButton },
-
-	/* From: NSWindowController.h */
-
-	/* From: NSWindowScripting.h */
-
-	/* From: NSWorkspace.h */
-	{0, 0} /* Sentinel */
-};

pyobjc/Modules/AppKit/_App_Functions.inc

-static inline int convert_NSAffineTransformStruct(PyObject* object, void* pvar)
-{
-	int err;
-
-	err = PyObjC_PythonToObjC(@encode(NSAffineTransformStruct), object, pvar);
-	if (err == -1) {
-		return 0;
-	}
-	return 1;
-}
-static inline int convert_NSRect(PyObject* object, void* pvar)
-{
-	int err;
-
-	err = PyObjC_PythonToObjC(@encode(NSRect), object, pvar);
-	if (err == -1) {
-		return 0;
-	}
-	return 1;
-}
-static inline int convert_NSPoint(PyObject* object, void* pvar)
-{
-	int err;
-
-	err = PyObjC_PythonToObjC(@encode(NSPoint), object, pvar);
-	if (err == -1) {
-		return 0;
-	}
-	return 1;
-}
-/*
- * This is a generated file.
- */
-
-typedef void* PYOBJC_VOIDPTR;
-
-static inline int convert_BOOL(PyObject* object, void* pvar)
-{
-    BOOL* pbool = (BOOL*)pvar;
-
-    if (PyObject_IsTrue(object)) {
-        *pbool = YES;
-    } else {
-        *pbool = NO;
-    }
-
-    return 1;
-}
-
-
-static inline int convert_char(PyObject* object, void* pvar)
-{
-	char* pchar = (char*)pvar;
-
-	if (!PyString_Check(object)) {
-		PyErr_SetString(PyExc_TypeError, "Expecting string of len 1");
-		return 0;
-	}
-
-	if (PyString_Size(object) != 1) {
-		PyErr_SetString(PyExc_TypeError, "Expecting string of len 1");
-		return 0;
-	}
-
-	*pchar = *PyString_AsString(object);
-	return 1;
-}
-
-static inline int convert_id(PyObject* object, void* pvar)
-{
-	id* pid = (id*)pvar;
-
-	*pid = PyObjC_PythonToId(object);
-
-        if (PyErr_Occurred()) {
-            return 0;
-        } 
-        return 1;
-}
-
-static inline int convert_SEL(PyObject* object, void* pvar)
-{
-        if (object == Py_None) {
-            *(SEL*)pvar = NULL;
-            return 1;
-        }
-        if (PyObjCSelector_Check(object)) {
-            *(SEL*)pvar = PyObjCSelector_GetSelector(object);
-            return 1;
-        }
-	if (!PyString_Check(object)) {
-		PyErr_SetString(PyExc_TypeError, "Expected string");
-		return 0;
-	}
-
-	*(SEL*)pvar = SELUID(PyString_AsString(object));
-	return 1;
-}
-
-static inline int convert_Class(PyObject* object, void* pvar)
-{
-	if (!PyObjCClass_Check(object)) {
-		PyErr_SetString(PyExc_TypeError, "Expected objective-C class");
-		return 0;
-	}
-
-	*(Class*)pvar = PyObjCClass_GetClass(object);
-	if (*(Class*)pvar == NULL) return 0;
-	return 1;
-}
-
-/* id NSAccessibilityUnignoredAncestor(id element); */
-static PyObject* objc_NSAccessibilityUnignoredAncestor(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "element", NULL };
-	PyObject* result;
-	id objc_result;
-	id objc_element;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSAccessibilityUnignoredAncestor", keywords, convert_id, &objc_element)) return NULL;
-	NS_DURING
-		objc_result = NSAccessibilityUnignoredAncestor(
-objc_element);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyObjC_IdToPython(objc_result); if (result == NULL) return NULL;
-	return result;
-}
-/* id NSAccessibilityUnignoredDescendant(id element); */
-static PyObject* objc_NSAccessibilityUnignoredDescendant(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "element", NULL };
-	PyObject* result;
-	id objc_result;
-	id objc_element;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSAccessibilityUnignoredDescendant", keywords, convert_id, &objc_element)) return NULL;
-	NS_DURING
-		objc_result = NSAccessibilityUnignoredDescendant(
-objc_element);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyObjC_IdToPython(objc_result); if (result == NULL) return NULL;
-	return result;
-}
-/* BOOL NSApplicationLoad(void); */
-static PyObject* objc_NSApplicationLoad(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { NULL };
-	PyObject* result;
-	BOOL objc_result;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, ":NSApplicationLoad", keywords)) return NULL;
-	NS_DURING
-		objc_result = NSApplicationLoad(
-);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyObjCBool_FromLong(objc_result);
-	if (result == NULL) return NULL;
-	return result;
-}
-/* void NSUpdateDynamicServices(void); */
-static PyObject* objc_NSUpdateDynamicServices(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { NULL };
-	PyObject* result;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, ":NSUpdateDynamicServices", keywords)) return NULL;
-	NS_DURING
-		NSUpdateDynamicServices(
-);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* BOOL NSPlanarFromDepth (NSWindowDepth depth); */
-static PyObject* objc_NSPlanarFromDepth(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "depth", NULL };
-	PyObject* result;
-	BOOL objc_result;
-	NSWindowDepth objc_depth;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:NSPlanarFromDepth", keywords, &objc_depth)) return NULL;
-	NS_DURING
-		objc_result = NSPlanarFromDepth(
-objc_depth);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyObjCBool_FromLong(objc_result);
-	if (result == NULL) return NULL;
-	return result;
-}
-/* int NSBitsPerSampleFromDepth (NSWindowDepth depth); */
-static PyObject* objc_NSBitsPerSampleFromDepth(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "depth", NULL };
-	PyObject* result;
-	int objc_result;
-	NSWindowDepth objc_depth;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:NSBitsPerSampleFromDepth", keywords, &objc_depth)) return NULL;
-	NS_DURING
-		objc_result = NSBitsPerSampleFromDepth(
-objc_depth);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyInt_FromLong(objc_result);
-	if (result == NULL) return NULL;
-	return result;
-}
-/* int NSBitsPerPixelFromDepth (NSWindowDepth depth); */
-static PyObject* objc_NSBitsPerPixelFromDepth(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "depth", NULL };
-	PyObject* result;
-	int objc_result;
-	NSWindowDepth objc_depth;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:NSBitsPerPixelFromDepth", keywords, &objc_depth)) return NULL;
-	NS_DURING
-		objc_result = NSBitsPerPixelFromDepth(
-objc_depth);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-		result = PyInt_FromLong(objc_result);
-	if (result == NULL) return NULL;
-	return result;
-}
-/* void NSRectFill(NSRect aRect); */
-static PyObject* objc_NSRectFill(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSRectFill", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSRectFill(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSRectFillUsingOperation(NSRect aRect, NSCompositingOperation op); */
-static PyObject* objc_NSRectFillUsingOperation(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "op", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSCompositingOperation objc_op;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&i:NSRectFillUsingOperation", keywords, convert_NSRect, &objc_aRect, &objc_op)) return NULL;
-	NS_DURING
-		NSRectFillUsingOperation(
-objc_aRect, objc_op);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSFrameRect(NSRect aRect); */
-static PyObject* objc_NSFrameRect(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSFrameRect", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSFrameRect(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSFrameRectWithWidth(NSRect aRect, float frameWidth); */
-static PyObject* objc_NSFrameRectWithWidth(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "frameWidth", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	float objc_frameWidth;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&f:NSFrameRectWithWidth", keywords, convert_NSRect, &objc_aRect, &objc_frameWidth)) return NULL;
-	NS_DURING
-		NSFrameRectWithWidth(
-objc_aRect, objc_frameWidth);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSFrameRectWithWidthUsingOperation(NSRect aRect, float frameWidth, NSCompositingOperation op); */
-static PyObject* objc_NSFrameRectWithWidthUsingOperation(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "frameWidth", "op", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	float objc_frameWidth;
-	NSCompositingOperation objc_op;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&fi:NSFrameRectWithWidthUsingOperation", keywords, convert_NSRect, &objc_aRect, &objc_frameWidth, &objc_op)) return NULL;
-	NS_DURING
-		NSFrameRectWithWidthUsingOperation(
-objc_aRect, objc_frameWidth, objc_op);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSRectClip(NSRect aRect); */
-static PyObject* objc_NSRectClip(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSRectClip", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSRectClip(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawGrayBezel(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawGrayBezel(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawGrayBezel", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawGrayBezel(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawGroove(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawGroove(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawGroove", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawGroove(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawWhiteBezel(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawWhiteBezel(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawWhiteBezel", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawWhiteBezel(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawButton(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawButton(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawButton", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawButton(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSEraseRect(NSRect aRect); */
-static PyObject* objc_NSEraseRect(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSEraseRect", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSEraseRect(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSCopyBits(int srcGState, NSRect srcRect, NSPoint destPoint); */
-static PyObject* objc_NSCopyBits(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "srcGState", "srcRect", "destPoint", NULL };
-	PyObject* result;
-	int objc_srcGState;
-	NSRect objc_srcRect;
-	NSPoint objc_destPoint;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "iO&O&:NSCopyBits", keywords, &objc_srcGState, convert_NSRect, &objc_srcRect, convert_NSPoint, &objc_destPoint)) return NULL;
-	NS_DURING
-		NSCopyBits(
-objc_srcGState, objc_srcRect, objc_destPoint);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSHighlightRect(NSRect aRect); */
-static PyObject* objc_NSHighlightRect(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSHighlightRect", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSHighlightRect(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSBeep(void); */
-static PyObject* objc_NSBeep(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { NULL };
-	PyObject* result;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, ":NSBeep", keywords)) return NULL;
-	NS_DURING
-		NSBeep(
-);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawDarkBezel(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawDarkBezel(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawDarkBezel", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawDarkBezel(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawLightBezel(NSRect aRect, NSRect clipRect); */
-static PyObject* objc_NSDrawLightBezel(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", "clipRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-	NSRect objc_clipRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O&:NSDrawLightBezel", keywords, convert_NSRect, &objc_aRect, convert_NSRect, &objc_clipRect)) return NULL;
-	NS_DURING
-		NSDrawLightBezel(
-objc_aRect, objc_clipRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDottedFrameRect(NSRect aRect); */
-static PyObject* objc_NSDottedFrameRect(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSDottedFrameRect", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSDottedFrameRect(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSDrawWindowBackground(NSRect aRect); */
-static PyObject* objc_NSDrawWindowBackground(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "aRect", NULL };
-	PyObject* result;
-	NSRect objc_aRect;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSDrawWindowBackground", keywords, convert_NSRect, &objc_aRect)) return NULL;
-	NS_DURING
-		NSDrawWindowBackground(
-objc_aRect);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSSetFocusRingStyle(NSFocusRingPlacement placement); */
-static PyObject* objc_NSSetFocusRingStyle(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "placement", NULL };
-	PyObject* result;
-	NSFocusRingPlacement objc_placement;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:NSSetFocusRingStyle", keywords, &objc_placement)) return NULL;
-	NS_DURING
-		NSSetFocusRingStyle(
-objc_placement);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-/* void NSReleaseAlertPanel(id panel); */
-static PyObject* objc_NSReleaseAlertPanel(PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
-{
-static	char* keywords[] = { "panel", NULL };
-	PyObject* result;
-	id objc_panel;
-
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:NSReleaseAlertPanel", keywords, convert_id, &objc_panel)) return NULL;
-	NS_DURING
-		NSReleaseAlertPanel(
-objc_panel);
-	NS_HANDLER
-		PyObjCErr_FromObjC(localException);
-		return NULL;
-	NS_ENDHANDLER
-	result = Py_None;
-	Py_INCREF(Py_None);
-	return result;
-}
-
-#define METHOD_TABLE_ENTRIES \
-	{ "NSAccessibilityUnignoredAncestor", (PyCFunction)objc_NSAccessibilityUnignoredAncestor, METH_VARARGS|METH_KEYWORDS, "id NSAccessibilityUnignoredAncestor(id element);" }, \
-	{ "NSAccessibilityUnignoredDescendant", (PyCFunction)objc_NSAccessibilityUnignoredDescendant, METH_VARARGS|METH_KEYWORDS, "id NSAccessibilityUnignoredDescendant(id element);" }, \
-	{ "NSApplicationLoad", (PyCFunction)objc_NSApplicationLoad, METH_VARARGS|METH_KEYWORDS, "BOOL NSApplicationLoad(void);" }, \
-	{ "NSUpdateDynamicServices", (PyCFunction)objc_NSUpdateDynamicServices, METH_VARARGS|METH_KEYWORDS, "void NSUpdateDynamicServices(void);" }, \
-	{ "NSPlanarFromDepth", (PyCFunction)objc_NSPlanarFromDepth, METH_VARARGS|METH_KEYWORDS, "BOOL NSPlanarFromDepth (NSWindowDepth depth);" }, \
-	{ "NSBitsPerSampleFromDepth", (PyCFunction)objc_NSBitsPerSampleFromDepth, METH_VARARGS|METH_KEYWORDS, "int NSBitsPerSampleFromDepth (NSWindowDepth depth);" }, \
-	{ "NSBitsPerPixelFromDepth", (PyCFunction)objc_NSBitsPerPixelFromDepth, METH_VARARGS|METH_KEYWORDS, "int NSBitsPerPixelFromDepth (NSWindowDepth depth);" }, \
-	{ "NSRectFill", (PyCFunction)objc_NSRectFill, METH_VARARGS|METH_KEYWORDS, "void NSRectFill(NSRect aRect);" }, \
-	{ "NSRectFillUsingOperation", (PyCFunction)objc_NSRectFillUsingOperation, METH_VARARGS|METH_KEYWORDS, "void NSRectFillUsingOperation(NSRect aRect, NSCompositingOperation op);" }, \
-	{ "NSFrameRect", (PyCFunction)objc_NSFrameRect, METH_VARARGS|METH_KEYWORDS, "void NSFrameRect(NSRect aRect);" }, \
-	{ "NSFrameRectWithWidth", (PyCFunction)objc_NSFrameRectWithWidth, METH_VARARGS|METH_KEYWORDS, "void NSFrameRectWithWidth(NSRect aRect, float frameWidth);" }, \
-	{ "NSFrameRectWithWidthUsingOperation", (PyCFunction)objc_NSFrameRectWithWidthUsingOperation, METH_VARARGS|METH_KEYWORDS, "void NSFrameRectWithWidthUsingOperation(NSRect aRect, float frameWidth, NSCompositingOperation op);" }, \
-	{ "NSRectClip", (PyCFunction)objc_NSRectClip, METH_VARARGS|METH_KEYWORDS, "void NSRectClip(NSRect aRect);" }, \
-	{ "NSDrawGrayBezel", (PyCFunction)objc_NSDrawGrayBezel, METH_VARARGS|METH_KEYWORDS, "void NSDrawGrayBezel(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSDrawGroove", (PyCFunction)objc_NSDrawGroove, METH_VARARGS|METH_KEYWORDS, "void NSDrawGroove(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSDrawWhiteBezel", (PyCFunction)objc_NSDrawWhiteBezel, METH_VARARGS|METH_KEYWORDS, "void NSDrawWhiteBezel(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSDrawButton", (PyCFunction)objc_NSDrawButton, METH_VARARGS|METH_KEYWORDS, "void NSDrawButton(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSEraseRect", (PyCFunction)objc_NSEraseRect, METH_VARARGS|METH_KEYWORDS, "void NSEraseRect(NSRect aRect);" }, \
-	{ "NSCopyBits", (PyCFunction)objc_NSCopyBits, METH_VARARGS|METH_KEYWORDS, "void NSCopyBits(int srcGState, NSRect srcRect, NSPoint destPoint);" }, \
-	{ "NSHighlightRect", (PyCFunction)objc_NSHighlightRect, METH_VARARGS|METH_KEYWORDS, "void NSHighlightRect(NSRect aRect);" }, \
-	{ "NSBeep", (PyCFunction)objc_NSBeep, METH_VARARGS|METH_KEYWORDS, "void NSBeep(void);" }, \
-	{ "NSDrawDarkBezel", (PyCFunction)objc_NSDrawDarkBezel, METH_VARARGS|METH_KEYWORDS, "void NSDrawDarkBezel(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSDrawLightBezel", (PyCFunction)objc_NSDrawLightBezel, METH_VARARGS|METH_KEYWORDS, "void NSDrawLightBezel(NSRect aRect, NSRect clipRect);" }, \
-	{ "NSDottedFrameRect", (PyCFunction)objc_NSDottedFrameRect, METH_VARARGS|METH_KEYWORDS, "void NSDottedFrameRect(NSRect aRect);" }, \
-	{ "NSDrawWindowBackground", (PyCFunction)objc_NSDrawWindowBackground, METH_VARARGS|METH_KEYWORDS, "void NSDrawWindowBackground(NSRect aRect);" }, \
-	{ "NSSetFocusRingStyle", (PyCFunction)objc_NSSetFocusRingStyle, METH_VARARGS|METH_KEYWORDS, "void NSSetFocusRingStyle(NSFocusRingPlacement placement);" }, \
-	{ "NSReleaseAlertPanel", (PyCFunction)objc_NSReleaseAlertPanel, METH_VARARGS|METH_KEYWORDS, "void NSReleaseAlertPanel(id panel);" }, \
-	/* END */

pyobjc/Modules/AppKit/_App_Str.inc

-/*
- * String constants. This file is generated from files in
- * /System/Library/Frameworks/AppKit.framework/Headers
- */
-static struct stringtable string_table[] = {
-
-	/* From: AppKit.h */
-
-	/* From: AppKitDefines.h */
-
-	/* From: NSAccessibility.h */
-	 { "NSAccessibilityException", &NSAccessibilityException },
-	 { "NSAccessibilityErrorCodeExceptionInfo", &NSAccessibilityErrorCodeExceptionInfo },
-	 { "NSAccessibilityRoleAttribute", &NSAccessibilityRoleAttribute },
-	 { "NSAccessibilityRoleDescriptionAttribute", &NSAccessibilityRoleDescriptionAttribute },
-	 { "NSAccessibilitySubroleAttribute", &NSAccessibilitySubroleAttribute },
-	 { "NSAccessibilityHelpAttribute", &NSAccessibilityHelpAttribute },
-	 { "NSAccessibilityTitleAttribute", &NSAccessibilityTitleAttribute },
-	 { "NSAccessibilityValueAttribute", &NSAccessibilityValueAttribute },
-	 { "NSAccessibilityMinValueAttribute", &NSAccessibilityMinValueAttribute },
-	 { "NSAccessibilityMaxValueAttribute", &NSAccessibilityMaxValueAttribute },
-	 { "NSAccessibilityEnabledAttribute", &NSAccessibilityEnabledAttribute },
-	 { "NSAccessibilityFocusedAttribute", &NSAccessibilityFocusedAttribute },
-	 { "NSAccessibilityParentAttribute", &NSAccessibilityParentAttribute },
-	 { "NSAccessibilityChildrenAttribute", &NSAccessibilityChildrenAttribute },
-	 { "NSAccessibilityWindowAttribute", &NSAccessibilityWindowAttribute },
-	 { "NSAccessibilitySelectedChildrenAttribute", &NSAccessibilitySelectedChildrenAttribute },
-	 { "NSAccessibilityVisibleChildrenAttribute", &NSAccessibilityVisibleChildrenAttribute },
-	 { "NSAccessibilityPositionAttribute", &NSAccessibilityPositionAttribute },
-	 { "NSAccessibilitySizeAttribute", &NSAccessibilitySizeAttribute },
-	 { "NSAccessibilityContentsAttribute", &NSAccessibilityContentsAttribute },
-	 { "NSAccessibilityPreviousContentsAttribute", &NSAccessibilityPreviousContentsAttribute },
-	 { "NSAccessibilityNextContentsAttribute", &NSAccessibilityNextContentsAttribute },
-	 { "NSAccessibilitySelectedTextAttribute", &NSAccessibilitySelectedTextAttribute },
-	 { "NSAccessibilitySelectedTextRangeAttribute", &NSAccessibilitySelectedTextRangeAttribute },
-	 { "NSAccessibilityMainAttribute", &NSAccessibilityMainAttribute },
-	 { "NSAccessibilityMinimizedAttribute", &NSAccessibilityMinimizedAttribute },
-	 { "NSAccessibilityCloseButtonAttribute", &NSAccessibilityCloseButtonAttribute },
-	 { "NSAccessibilityZoomButtonAttribute", &NSAccessibilityZoomButtonAttribute },
-	 { "NSAccessibilityMinimizeButtonAttribute", &NSAccessibilityMinimizeButtonAttribute },
-	 { "NSAccessibilityToolbarButtonAttribute", &NSAccessibilityToolbarButtonAttribute },
-	 { "NSAccessibilityProxyAttribute", &NSAccessibilityProxyAttribute },
-	 { "NSAccessibilityGrowAreaAttribute", &NSAccessibilityGrowAreaAttribute },
-	 { "NSAccessibilityMenuBarAttribute", &NSAccessibilityMenuBarAttribute },
-	 { "NSAccessibilityWindowsAttribute", &NSAccessibilityWindowsAttribute },
-	 { "NSAccessibilityFrontmostAttribute", &NSAccessibilityFrontmostAttribute },
-	 { "NSAccessibilityHiddenAttribute", &NSAccessibilityHiddenAttribute },
-	 { "NSAccessibilityMainWindowAttribute", &NSAccessibilityMainWindowAttribute },
-	 { "NSAccessibilityFocusedWindowAttribute", &NSAccessibilityFocusedWindowAttribute },
-	 { "NSAccessibilityFocusedUIElementAttribute", &NSAccessibilityFocusedUIElementAttribute },
-	 { "NSAccessibilityHeaderAttribute", &NSAccessibilityHeaderAttribute },
-	 { "NSAccessibilityEditedAttribute", &NSAccessibilityEditedAttribute },
-	 { "NSAccessibilityTabsAttribute", &NSAccessibilityTabsAttribute },
-	 { "NSAccessibilityTitleUIElementAttribute", &NSAccessibilityTitleUIElementAttribute },
-	 { "NSAccessibilityHorizontalScrollBarAttribute", &NSAccessibilityHorizontalScrollBarAttribute },
-	 { "NSAccessibilityVerticalScrollBarAttribute", &NSAccessibilityVerticalScrollBarAttribute },
-	 { "NSAccessibilityOverflowButtonAttribute", &NSAccessibilityOverflowButtonAttribute },
-	 { "NSAccessibilityIncrementButtonAttribute", &NSAccessibilityIncrementButtonAttribute },
-	 { "NSAccessibilityDecrementButtonAttribute", &NSAccessibilityDecrementButtonAttribute },
-	 { "NSAccessibilityFilenameAttribute", &NSAccessibilityFilenameAttribute },
-	 { "NSAccessibilityExpandedAttribute", &NSAccessibilityExpandedAttribute },
-	 { "NSAccessibilitySelectedAttribute", &NSAccessibilitySelectedAttribute },
-	 { "NSAccessibilityColumnTitlesAttribute", &NSAccessibilityColumnTitlesAttribute },
-	 { "NSAccessibilitySplittersAttribute", &NSAccessibilitySplittersAttribute },
-	 { "NSAccessibilityDocumentAttribute", &NSAccessibilityDocumentAttribute },
-	 { "NSAccessibilityOrientationAttribute", &NSAccessibilityOrientationAttribute },
-	 { "NSAccessibilityVerticalOrientationValue", &NSAccessibilityVerticalOrientationValue },
-	 { "NSAccessibilityHorizontalOrientationValue", &NSAccessibilityHorizontalOrientationValue },
-	 { "NSAccessibilityRowsAttribute", &NSAccessibilityRowsAttribute },
-	 { "NSAccessibilityVisibleRowsAttribute", &NSAccessibilityVisibleRowsAttribute },
-	 { "NSAccessibilitySelectedRowsAttribute", &NSAccessibilitySelectedRowsAttribute },
-	 { "NSAccessibilityColumnsAttribute", &NSAccessibilityColumnsAttribute },
-	 { "NSAccessibilityVisibleColumnsAttribute", &NSAccessibilityVisibleColumnsAttribute },
-	 { "NSAccessibilitySelectedColumnsAttribute", &NSAccessibilitySelectedColumnsAttribute },
-	 { "NSAccessibilitySortDirectionAttribute", &NSAccessibilitySortDirectionAttribute },
-	 { "NSAccessibilityDisclosingAttribute", &NSAccessibilityDisclosingAttribute },
-	 { "NSAccessibilityDisclosedRowsAttribute", &NSAccessibilityDisclosedRowsAttribute },
-	 { "NSAccessibilityDisclosedByRowAttribute", &NSAccessibilityDisclosedByRowAttribute },
-	 { "NSAccessibilityPressAction", &NSAccessibilityPressAction },
-	 { "NSAccessibilityIncrementAction", &NSAccessibilityIncrementAction },
-	 { "NSAccessibilityDecrementAction", &NSAccessibilityDecrementAction },
-	 { "NSAccessibilityConfirmAction", &NSAccessibilityConfirmAction },
-	 { "NSAccessibilityPickAction", &NSAccessibilityPickAction },
-	 { "NSAccessibilityMainWindowChangedNotification", &NSAccessibilityMainWindowChangedNotification },
-	 { "NSAccessibilityFocusedWindowChangedNotification", &NSAccessibilityFocusedWindowChangedNotification },
-	 { "NSAccessibilityFocusedUIElementChangedNotification", &NSAccessibilityFocusedUIElementChangedNotification },
-	 { "NSAccessibilityApplicationActivatedNotification", &NSAccessibilityApplicationActivatedNotification },
-	 { "NSAccessibilityApplicationDeactivatedNotification", &NSAccessibilityApplicationDeactivatedNotification },
-	 { "NSAccessibilityApplicationHiddenNotification", &NSAccessibilityApplicationHiddenNotification },
-	 { "NSAccessibilityApplicationShownNotification", &NSAccessibilityApplicationShownNotification },
-	 { "NSAccessibilityWindowCreatedNotification", &NSAccessibilityWindowCreatedNotification },
-	 { "NSAccessibilityWindowMovedNotification", &NSAccessibilityWindowMovedNotification },
-	 { "NSAccessibilityWindowResizedNotification", &NSAccessibilityWindowResizedNotification },
-	 { "NSAccessibilityWindowMiniaturizedNotification", &NSAccessibilityWindowMiniaturizedNotification },
-	 { "NSAccessibilityWindowDeminiaturizedNotification", &NSAccessibilityWindowDeminiaturizedNotification },
-	 { "NSAccessibilityValueChangedNotification", &NSAccessibilityValueChangedNotification },
-	 { "NSAccessibilityUIElementDestroyedNotification", &NSAccessibilityUIElementDestroyedNotification },
-	 { "NSAccessibilityUnknownRole", &NSAccessibilityUnknownRole },
-	 { "NSAccessibilityButtonRole", &NSAccessibilityButtonRole },
-	 { "NSAccessibilityRadioButtonRole", &NSAccessibilityRadioButtonRole },
-	 { "NSAccessibilityCheckBoxRole", &NSAccessibilityCheckBoxRole },
-	 { "NSAccessibilitySliderRole", &NSAccessibilitySliderRole },
-	 { "NSAccessibilityTabGroupRole", &NSAccessibilityTabGroupRole },
-	 { "NSAccessibilityTextFieldRole", &NSAccessibilityTextFieldRole },
-	 { "NSAccessibilityStaticTextRole", &NSAccessibilityStaticTextRole },
-	 { "NSAccessibilityTextAreaRole", &NSAccessibilityTextAreaRole },
-	 { "NSAccessibilityScrollAreaRole", &NSAccessibilityScrollAreaRole },
-	 { "NSAccessibilityPopUpButtonRole", &NSAccessibilityPopUpButtonRole },
-	 { "NSAccessibilityMenuButtonRole", &NSAccessibilityMenuButtonRole },
-	 { "NSAccessibilityTableRole", &NSAccessibilityTableRole },
-	 { "NSAccessibilityApplicationRole", &NSAccessibilityApplicationRole },
-	 { "NSAccessibilityGroupRole", &NSAccessibilityGroupRole },
-	 { "NSAccessibilityRadioGroupRole", &NSAccessibilityRadioGroupRole },
-	 { "NSAccessibilityListRole", &NSAccessibilityListRole },
-	 { "NSAccessibilityScrollBarRole", &NSAccessibilityScrollBarRole },
-	 { "NSAccessibilityValueIndicatorRole", &NSAccessibilityValueIndicatorRole },
-	 { "NSAccessibilityImageRole", &NSAccessibilityImageRole },
-	 { "NSAccessibilityMenuBarRole", &NSAccessibilityMenuBarRole },
-	 { "NSAccessibilityMenuRole", &NSAccessibilityMenuRole },
-	 { "NSAccessibilityMenuItemRole", &NSAccessibilityMenuItemRole },
-	 { "NSAccessibilityColumnRole", &NSAccessibilityColumnRole },
-	 { "NSAccessibilityRowRole", &NSAccessibilityRowRole },
-	 { "NSAccessibilityToolbarRole", &NSAccessibilityToolbarRole },
-	 { "NSAccessibilityBusyIndicatorRole", &NSAccessibilityBusyIndicatorRole },
-	 { "NSAccessibilityProgressIndicatorRole", &NSAccessibilityProgressIndicatorRole },
-	 { "NSAccessibilityRelevanceIndicatorRole", &NSAccessibilityRelevanceIndicatorRole },
-	 { "NSAccessibilityWindowRole", &NSAccessibilityWindowRole },
-	 { "NSAccessibilityWindowTitleRole", &NSAccessibilityWindowTitleRole },
-	 { "NSAccessibilityWindowProxyRole", &NSAccessibilityWindowProxyRole },
-	 { "NSAccessibilityDrawerRole", &NSAccessibilityDrawerRole },
-	 { "NSAccessibilitySystemWideRole", &NSAccessibilitySystemWideRole },
-	 { "NSAccessibilityOutlineRole", &NSAccessibilityOutlineRole },
-	 { "NSAccessibilityIncrementorRole", &NSAccessibilityIncrementorRole },
-	 { "NSAccessibilityBrowserRole", &NSAccessibilityBrowserRole },
-	 { "NSAccessibilityComboBoxRole", &NSAccessibilityComboBoxRole },
-	 { "NSAccessibilitySplitGroupRole", &NSAccessibilitySplitGroupRole },
-	 { "NSAccessibilitySplitterRole", &NSAccessibilitySplitterRole },
-	 { "NSAccessibilityColorWellRole", &NSAccessibilityColorWellRole },
-	 { "NSAccessibilityGrowAreaRole", &NSAccessibilityGrowAreaRole },
-	 { "NSAccessibilitySheetRole", &NSAccessibilitySheetRole },
-	 { "NSAccessibilityUnknownSubrole", &NSAccessibilityUnknownSubrole },
-	 { "NSAccessibilityCloseButtonSubrole", &NSAccessibilityCloseButtonSubrole },
-	 { "NSAccessibilityZoomButtonSubrole", &NSAccessibilityZoomButtonSubrole },
-	 { "NSAccessibilityMinimizeButtonSubrole", &NSAccessibilityMinimizeButtonSubrole },
-	 { "NSAccessibilityToolbarButtonSubrole", &NSAccessibilityToolbarButtonSubrole },
-	 { "NSAccessibilityTableRowSubrole", &NSAccessibilityTableRowSubrole },
-	 { "NSAccessibilityOutlineRowSubrole", &NSAccessibilityOutlineRowSubrole },
-	 { "NSAccessibilitySecureTextFieldSubrole", &NSAccessibilitySecureTextFieldSubrole },
-
-	/* From: NSActionCell.h */
-
-	/* From: NSAffineTransform.h */
-
-	/* From: NSAppleScriptExtensions.h */
-
-	/* From: NSApplication.h */
-	 { "NSModalPanelRunLoopMode", &NSModalPanelRunLoopMode },
-	 { "NSEventTrackingRunLoopMode", &NSEventTrackingRunLoopMode },
-	 { "NSApplicationDidBecomeActiveNotification", &NSApplicationDidBecomeActiveNotification },
-	 { "NSApplicationDidHideNotification", &NSApplicationDidHideNotification },
-	 { "NSApplicationDidFinishLaunchingNotification", &NSApplicationDidFinishLaunchingNotification },
-	 { "NSApplicationDidResignActiveNotification", &NSApplicationDidResignActiveNotification },
-	 { "NSApplicationDidUnhideNotification", &NSApplicationDidUnhideNotification },
-	 { "NSApplicationDidUpdateNotification", &NSApplicationDidUpdateNotification },
-	 { "NSApplicationWillBecomeActiveNotification", &NSApplicationWillBecomeActiveNotification },
-	 { "NSApplicationWillHideNotification", &NSApplicationWillHideNotification },
-	 { "NSApplicationWillFinishLaunchingNotification", &NSApplicationWillFinishLaunchingNotification },
-	 { "NSApplicationWillResignActiveNotification", &NSApplicationWillResignActiveNotification },
-	 { "NSApplicationWillUnhideNotification", &NSApplicationWillUnhideNotification },
-	 { "NSApplicationWillUpdateNotification", &NSApplicationWillUpdateNotification },
-	 { "NSApplicationWillTerminateNotification", &NSApplicationWillTerminateNotification },
-	 { "NSApplicationDidChangeScreenParametersNotification", &NSApplicationDidChangeScreenParametersNotification },
-
-	/* From: NSApplicationScripting.h */
-
-	/* From: NSAttributedString.h */