Closed tomhughes closed 6 years ago
Recent versions of pycairo declare Pycairo_CAPI as extern rather than static in the header, so if you include py3cairo.h in more than one file then you need to tell it to only declare it in the additional files by defining PYCAIRO_NO_IMPORT.
Pycairo_CAPI
py3cairo.h
PYCAIRO_NO_IMPORT
Thanks! I will put the commit also to master branch.
Recent versions of pycairo declare
Pycairo_CAPI
as extern rather than static in the header, so if you includepy3cairo.h
in more than one file then you need to tell it to only declare it in the additional files by definingPYCAIRO_NO_IMPORT
.