Auto merge of #88 - snapview:cgwindowlist, r=jdm

Add CGWindowListCreateImageFromArray()

Just adds a binding to one small function.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-graphics-rs/88)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo
2017-07-25 07:30:10 -07:00
committed by GitHub
+3 -1
View File
@@ -91,5 +91,7 @@ extern {
listOptions: CGWindowListOption,
windowId: CGWindowID,
imageOptions: CGWindowImageOption) -> CGImageRef;
pub fn CGWindowListCreateImageFromArray(screenBounds: CGRect,
windowArray: CFArrayRef,
imageOptions: CGWindowImageOption) -> CGImageRef;
}