s-u / Cairo

R graphics device using cairo graphics library for creating high-quality output
12 stars 10 forks source link

Fix compilation when CAIRO_HAS_PDF_SURFACE is false #48

Closed rtobar closed 1 month ago

rtobar commented 1 month ago

In this case the signature of the Rcairo_new_pdf_backend funciton definition didn't match the one in the declaration (the final SEXP argument was missing), causing the compilation to fail.

I found this while compiling the CRAN version 1.6.2, but this file hasn't been touched in a long time, so it probably affects older versions too.

rtobar commented 1 month ago

This is a gentle ping to see if this can be merged, thanks in advance!

s-u commented 1 month ago

Thanks! Good idea.