From 6d41cb4dadcc0667c8d47fa600755d4c694ec7b8 Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Tue, 4 Jun 2019 18:00:22 -0400 Subject: [PATCH] Mention PFCanvasCreate() consumes the font context --- c/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib.rs b/c/src/lib.rs index 96c49493..f3ec9c71 100644 --- a/c/src/lib.rs +++ b/c/src/lib.rs @@ -108,6 +108,7 @@ pub struct PFRenderOptions { // `canvas` +/// Consumes the font context. #[no_mangle] pub unsafe extern "C" fn PFCanvasCreate(font_context: PFCanvasFontContextRef, size: *const PFVector2F)