CAIRO_STATUS_SUCCESS becomes CAIRO_INT_STATUS_NO_MEMORY ?
Konstantin KABASSANOV
Konstantin.Kabassanov at lip6.fr
Thu Mar 20 17:26:49 UTC 2025
Hello,
I have a very strange behaviour with the status assignment by
_cairo_tor_scan_converter_add_polygon function called from the
composite_polygon function.
Even if _cairo_tor_scan_converter_add_polygon returns the only value it
could return (CAIRO_STATUS_SUCCESS), the composite_polygon status variable
gets CAIRO_INT_STATUS_NO_MEMORY.
Could it be a somehow wrong mapping between cairo_status_t and
cairo_int_status_t types values? It seems that the numerical value in memory
corresponding to the status variable changes to 0x01 and if I print the
value casted to both types, I can see CAIRO_INT_STATUS_NO_MEMORY in GDB.
Do you have any idea?
Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20250320/adf93f88/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8409 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20250320/adf93f88/attachment.bin>
More information about the cairo
mailing list