Mention PFCanvasCreate() consumes the font context

This commit is contained in:
Atul Varma 2019-06-04 18:00:22 -04:00 committed by GitHub
parent e3112d1a84
commit 6d41cb4dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ pub struct PFRenderOptions {
// `canvas` // `canvas`
/// Consumes the font context.
#[no_mangle] #[no_mangle]
pub unsafe extern "C" fn PFCanvasCreate(font_context: PFCanvasFontContextRef, pub unsafe extern "C" fn PFCanvasCreate(font_context: PFCanvasFontContextRef,
size: *const PFVector2F) size: *const PFVector2F)