aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/system-header-simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/system-header-simulator.h')
-rw-r--r--test/Analysis/system-header-simulator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Analysis/system-header-simulator.h b/test/Analysis/system-header-simulator.h
index a8cba9ce5b..d2fb2e8684 100644
--- a/test/Analysis/system-header-simulator.h
+++ b/test/Analysis/system-header-simulator.h
@@ -46,3 +46,10 @@ typedef struct {
int dealocateMemWhenDoneByVal(void*, StWithCallback);
int dealocateMemWhenDoneByRef(StWithCallback*, const void*);
+
+typedef struct CGContext *CGContextRef;
+CGContextRef CGBitmapContextCreate(void *data/*, size_t width, size_t height,
+ size_t bitsPerComponent, size_t bytesPerRow,
+ CGColorSpaceRef space,
+ CGBitmapInfo bitmapInfo*/);
+void *CGBitmapContextGetData(CGContextRef context);