func (p version) String() string { v := C.cairo_pdf_version_to_string(C.cairo_pdf_version_t(p)) if v == nil { return "unknown PDF version" } return C.GoString(v) }
func (self PDFVersion) String() string { return C.GoString(C.cairo_pdf_version_to_string(C.cairo_pdf_version_t(self))) }