mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
The lifecycle chapter claimed that all constructors return empty singletons on failure. Constructors ending in _or_fail instead return NULL, including the established blob constructors. Describe both conventions and require checking _or_fail results. Validated the XML and reproduced the blob constructor behavior with a nonexistent file and an oversized blob. Documentation only. Fixes: https://github.com/harfbuzz/harfbuzz/issues/6359 Assisted-by: Codex