diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-19 23:31:36 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-20 09:52:45 +0300 |
commit | 3061e3859d603c56b322a6490ebe82db40475d83 (patch) | |
tree | f112df0e94180d7d91149e4b76b8337f236c9a6f /thirdparty/harfbuzz/src/hb-blob.h | |
parent | 0e5b0c025ce3d4ad8082cbeb5394423854c2e25f (diff) |
HarfBuzz: Update to version 3.0.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-blob.h')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-blob.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb-blob.h b/thirdparty/harfbuzz/src/hb-blob.h index 86f12788d2..203f9e19dd 100644 --- a/thirdparty/harfbuzz/src/hb-blob.h +++ b/thirdparty/harfbuzz/src/hb-blob.h @@ -91,8 +91,18 @@ hb_blob_create (const char *data, hb_destroy_func_t destroy); HB_EXTERN hb_blob_t * +hb_blob_create_or_fail (const char *data, + unsigned int length, + hb_memory_mode_t mode, + void *user_data, + hb_destroy_func_t destroy); + +HB_EXTERN hb_blob_t * hb_blob_create_from_file (const char *file_name); +HB_EXTERN hb_blob_t * +hb_blob_create_from_file_or_fail (const char *file_name); + /* Always creates with MEMORY_MODE_READONLY. * Even if the parent blob is writable, we don't * want the user of the sub-blob to be able to |