nswrap/examples/app/nswrap.yaml
Greg e5c8e114bf Add garbage collection memory mangement mode (gogc). Lots of fixes
related to pointer handling and memory management.
2019-06-18 09:15:46 -04:00

49 lines
1015 B
YAML

# nswrap.yaml
inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
- /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h
classes:
- NSAutoreleasePool
- NSString
- NSApplication
- NSWindow
- NSView
- NSMenu
- NSMenuItem
- NSButton
- NSControl
- NSNotification
- NSLayoutConstraint
- NSDictionary
- NSArray
- NSObject
functions: [ NSMakeRect ]
enums:
- NSApplication.*
- NSBackingStore.*
- NSWindowStyleMask.*
- NSWindowButton
- NSWindowOrderingMode
- NSLayout.*
delegates:
AppDelegate:
NSApplicationDelegate:
- applicationWillTerminate
- applicationDidFinishLaunching
- applicationShouldTerminateAfterLastWindowClosed
- applicationDidBecomeActive
subclasses:
GButton:
NSButton:
- -(void)pressed
frameworks: [ Foundation, AppKit ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
#autorelease: true
gogc: true