API Notes: IOSurface framework

Introduction

An introduction to PyObjC describes the general method for translating Objective-C calls into Python calls, including the handling of pass-by-reference arguments and buffers.

This document describes where the PyObjC bindings for this framework are different from the general rule, such as mentioning APIs that are not supported or where the interface is different than expected.

The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).

These bindings are accessed through the IOSurface package (that is, import IOSurface).

API Notes

The entire framework is available from Python. But note that PyObjC does not have bindings for mach ports and the C library for XPC.

Note

This framework is only available on OSX 10.6.