Provide a placeholder definition of `CAMetalLayer` in the C API.
Closes #260.
This commit is contained in:
parent
d3ceef749f
commit
9998fe49bd
|
@ -12,6 +12,10 @@ header = """\
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern \"C\" {
|
extern \"C\" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
|
typedef struct CAMetalLayerPrivate CAMetalLayer;
|
||||||
|
#endif
|
||||||
"""
|
"""
|
||||||
trailer = """\
|
trailer = """\
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue