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 After construction, each object's properties are accessible only
through the setter and getter functions described in the API through the setter and getter functions described in the API
Reference manual. 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>
<para> <para>
Key object types provided by HarfBuzz include: Key object types provided by HarfBuzz include:
@ -253,6 +256,10 @@
about freeing memory and let the reference-counting machinery about freeing memory and let the reference-counting machinery
take care of that. take care of that.
</para> </para>
<para>
Most of the time, blobs are read-only, facilitating their use in
immutable objects.
</para>
</section> </section>
</chapter> </chapter>