Greg
90166a4379
categories. Memory leak fixes. Add "autorelease" confiruation directive. Fix parameter types for subclass method overriding.
48 lines
1003 B
YAML
48 lines
1003 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
|