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
|
||||
extern \"C\" {
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
typedef struct CAMetalLayerPrivate CAMetalLayer;
|
||||
#endif
|
||||
"""
|
||||
trailer = """\
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue