Commit Graph
9 Commits
Author SHA1 Message Date
Behdad Esfahbod aa5eff6b85 [docs] Qualify the object constructor failure guarantee (#6364)
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
2026-10-10 18:34:47 -06:00
Khaled Hosny c27ef57976 [usermanual] Improve program listings
Content inside <programlisting> tags is sensitive to white space, and the
extra indentation appear in the output.
2026-03-08 00:03:57 +02:00
Matthias Clasen b15e497d4d Fix the docs build
This was inadvertendly broken in f956ecdbaffbb8643.
Sorry
2022-01-13 12:19:05 -07:00
Matthias Clasen 4ced2e8a8a docs: Add some details
Mention immutability in the object model section.
2022-01-13 10:54:24 -08:00
Matthias Clasen bb330c6aa6 docs: Fix a typo 2022-01-13 10:54:24 -08:00
Ambient Lighter 4cc4cd3b24 [docs] Fix spelling typo (#2945) 2021-04-10 14:11:23 +03:00
Ebrahim Byagowi e75d785b51 [doc] fix hb_blob_create call example
otherwise free(0) will be called that silently makes a leak
2019-12-12 15:42:37 +03:30
Nathan Willis 6d9a86ae75 [Docs] Usermanual; fixes to Object Model chapter 2019-04-30 16:09:01 +01:00
Nathan Willis 98c54cdef8 Usermanual: add chapter on object model. 2019-04-23 17:48:42 +01:00