1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 01:46:16 +00:00
mpv/waftools/fragments/cocoa.m

17 lines
387 B
Mathematica
Raw Normal View History

#import <CoreServices/CoreServices.h>
#import <OpenGL/OpenGL.h>
#import <Cocoa/Cocoa.h>
#include "osdep/macosx_compat.h"
2016-12-15 22:06:04 +00:00
int main(int argc, char **argv)
{
@autoreleasepool {
NSArray *ary = @[@1, @2, @3];
NSLog(@"test subscripting: %@", ary[0]);
NSApplicationLoad();
CVDisplayLinkRef link;
CVDisplayLinkCreateWithCGDisplay(0, &link);
}
}