aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools/fragments/cocoa.m
blob: 3c6230401d8e9987b4c689c72c4219adb5e57552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import <CoreServices/CoreServices.h>
#import <OpenGL/OpenGL.h>
#import <Cocoa/Cocoa.h>

#include "osdep/macosx_compat.h"

int main(int argc, char **argv) {
    @autoreleasepool {
        NSArray *ary = @[@1, @2, @3];
        NSLog(@"test subscripting: %@", ary[0]);
        NSApplicationLoad();
        CVDisplayLinkRef link;
        CVDisplayLinkCreateWithCGDisplay(0, &link);
    }
}