diff options
author | Ayman El Didi <ayman@eldidi.org> | 2022-02-17 15:58:14 -0700 |
---|---|---|
committer | Ayman El Didi <ayman@eldidi.org> | 2022-02-18 15:14:57 -0700 |
commit | c932bb7ae71f18a6b9d813bcc2c2ba4cac3d901c (patch) | |
tree | c0dac77df5cfd8fabfcbfabed29767d9aec4f85d /src/cairo-font-options.c | |
parent | 4d680596561bde4b797c7c44484c9036e81b6258 (diff) | |
download | cairo-c932bb7ae71f18a6b9d813bcc2c2ba4cac3d901c.tar.gz |
added missing documentation to cairo_font_options_status
The documentation for cairo_font_options_status says it can return
either CAIRO_STATUS_SUCCESS or CAIRO_STATUS_NO_MEMORY, but the
implementation can also return CAIRO_STATUS_NULL_POINTER, which wasn't
mentioned.
Diffstat (limited to 'src/cairo-font-options.c')
-rw-r--r-- | src/cairo-font-options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-font-options.c b/src/cairo-font-options.c index 9aef14073..0c4e462b8 100644 --- a/src/cairo-font-options.c +++ b/src/cairo-font-options.c @@ -186,7 +186,8 @@ cairo_font_options_destroy (cairo_font_options_t *options) * Checks whether an error has previously occurred for this * font options object * - * Return value: %CAIRO_STATUS_SUCCESS or %CAIRO_STATUS_NO_MEMORY + * Return value: %CAIRO_STATUS_SUCCESS, %CAIRO_STATUS_NO_MEMORY, or + * %CAIRO_STATUS_NULL_POINTER. * * Since: 1.0 **/ |