Merge pull request #324 from pcwalton/metal-layer-non-macos
Provide a placeholder definition of `CAMetalLayer` in the C API.
This commit is contained in:
commit
d039e9009e
|
@ -12,6 +12,10 @@ header = """\
|
|||
#ifdef __cplusplus
|
||||
extern \"C\" {
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
typedef struct CAMetalLayerPrivate CAMetalLayer;
|
||||
#endif
|
||||
"""
|
||||
trailer = """\
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue