added osx cocoa support files

This commit is contained in:
Palana
2013-11-14 18:18:25 +01:00
parent 595dad2e70
commit d7a04aea8c
5 changed files with 611 additions and 1 deletions

View File

@@ -19,6 +19,9 @@
#include "../util/bmem.h"
#include "input.h"
#ifdef __APPLE__
#include <objc/objc-runtime.h>
#endif
/*
* This is an API-independent graphics subsystem wrapper.
@@ -410,7 +413,7 @@ struct gs_init_data {
#if defined(_WIN32)
void *hwnd;
#elif defined(__APPLE__)
/* TODO */
__unsafe_unretained id view;
#elif defined(__posix__)
/* TODO */
#endif