mac: fix a bunch of memory leaks
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
0fde05fa03
commit
4319ea25b5
2 changed files with 220 additions and 510 deletions
|
|
@ -40,6 +40,7 @@
|
|||
MwBool valid;
|
||||
int width;
|
||||
int height;
|
||||
unsigned char *buf;
|
||||
NSImage *image;
|
||||
NSBitmapImageRep *rep;
|
||||
}
|
||||
|
|
@ -97,6 +98,8 @@
|
|||
- (void)setW:(int)w H:(int)h;
|
||||
- (int)pending;
|
||||
- (void)eventProcess:(NSEvent *)ev;
|
||||
- (void)handleKeyEvent:(NSEvent *)ev;
|
||||
- (void)handleMouseEvent:(NSEvent *)ev ll:(MwLL)ll;
|
||||
- (void)getNextEvent;
|
||||
- (void)setTitle:(const char *)title;
|
||||
- (void)drawPixmap:(MwLLPixmap)pixmap rect:(MwRect *)rect;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue