[cairo] Repost [PATCH cairo-www] Missing argument defs cause segfaults

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Wed May 17 04:59:43 UTC 2017


The cookbook example of how to call FreeType using ctypes is missing
the argtypes definition for cairo_font_face_get_user_data. This will
cause segfaults.

Enclosed is a fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldo-cookbook-get-user-data-argtypes.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170517/bc8bec1b/attachment.bin>


More information about the cairo mailing list