docs: Add some details

Mention immutability in the object model section.
This commit is contained in:
Matthias Clasen 2022-01-13 09:05:04 -05:00 committed by Behdad Esfahbod
parent bb330c6aa6
commit 4ced2e8a8a
1 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,9 @@
After construction, each object's properties are accessible only
through the setter and getter functions described in the API
Reference manual.
</para>
Note that many object types can be marked as read-only or immutable,
facilitating their use in multi-threaded environments.
</para>
<para>
Key object types provided by HarfBuzz include:
@ -253,6 +256,10 @@
about freeing memory and let the reference-counting machinery
take care of that.
</para>
<para>
Most of the time, blobs are read-only, facilitating their use in
immutable objects.
</para>
</section>
</chapter>