summaryrefslogtreecommitdiff
path: root/src/cairo-pdf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-pdf.h')
-rw-r--r--src/cairo-pdf.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cairo-pdf.h b/src/cairo-pdf.h
index 0f624af31..701a7b4a7 100644
--- a/src/cairo-pdf.h
+++ b/src/cairo-pdf.h
@@ -31,17 +31,20 @@
* California.
*
* Contributor(s):
- * Carl D. Worth <cworth@isi.edu>
+ * Carl D. Worth <cworth@cworth.org>
*/
-#include <cairo.h>
-
#ifndef CAIRO_PDF_H
#define CAIRO_PDF_H
+
+#include <cairo.h>
+
#ifdef CAIRO_HAS_PDF_SURFACE
#include <stdio.h>
+CAIRO_BEGIN_DECLS
+
void
cairo_set_target_pdf (cairo_t *cr,
FILE *file,
@@ -58,5 +61,7 @@ cairo_pdf_surface_create (FILE *file,
double x_pixels_per_inch,
double y_pixels_per_inch);
+CAIRO_END_DECLS
+
#endif /* CAIRO_HAS_PDF_SURFACE */
#endif /* CAIRO_PDF_H */