docs: Add some details

Mention immutability in the object model section.
pull/3367/head
Matthias Clasen 3 years ago
parent 3b5ee20c36
commit f956ecdbaf
  1. 7
      docs/usermanual-object-model.xml

@ -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>

Loading…
Cancel
Save