From 0a3d2bb99b45b72e1d45185ab054efa993d97210 Mon Sep 17 00:00:00 2001 From: Filip Filmar Date: Sun, 20 Oct 2019 02:05:02 -0700 Subject: [PATCH] [doc] FT_Open_Args: Clarify the ownership of `pathname'. Don't expect the function to deallocate the buffer. This may be obvious in C, but it is not so obvious in FFI bindings for FreeType 2. --- include/freetype/freetype.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index a6bb667e3..5eb613b0c 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -2078,7 +2078,8 @@ FT_BEGIN_HEADER * The size in bytes of the file in memory. * * pathname :: - * A pointer to an 8-bit file pathname. + * A pointer to an 8-bit file pathname. The pointer is not owned by + * FreeType. * * stream :: * A handle to a source stream object.