[cairo] [PATCH] Missing argument defs cause segfaults

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Wed Apr 19 01:22:18 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/20170419/70b14c89/attachment.bin>


More information about the cairo mailing list