[docs] Expand memory modes docs

Per Behdad suggestions.
This commit is contained in:
Khaled Hosny 2020-12-31 02:23:55 +02:00 committed by Behdad Esfahbod
parent 5151c2b668
commit 5e9f05ff3f
1 changed files with 4 additions and 2 deletions

View File

@ -39,8 +39,10 @@ HB_BEGIN_DECLS
/** /**
* hb_memory_mode_t: * hb_memory_mode_t:
* @HB_MEMORY_MODE_DUPLICATE: HarfBuzz immediately makes a copy of the data. * @HB_MEMORY_MODE_DUPLICATE: HarfBuzz immediately makes a copy of the data.
* @HB_MEMORY_MODE_READONLY: HarfBuzz client will never modify the data * @HB_MEMORY_MODE_READONLY: HarfBuzz client will never modify the data,
* @HB_MEMORY_MODE_WRITABLE: HarfBuzz client made a copy of the data solely for HarfBuzz. * and HarfBuzz will never modify the data.
* @HB_MEMORY_MODE_WRITABLE: HarfBuzz client made a copy of the data solely
* for HarfBuzz, so HarfBuzz may modify the data.
* @HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE: See above * @HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE: See above
* *
* Data type holding the memory modes available to * Data type holding the memory modes available to