[blob] Shuffle

This commit is contained in:
Behdad Esfahbod 2019-05-24 10:52:09 -04:00
parent 96de94768b
commit 1fffe51a29
1 changed files with 3 additions and 3 deletions

View File

@ -71,6 +71,9 @@ hb_blob_create (const char *data,
void *user_data, void *user_data,
hb_destroy_func_t destroy); hb_destroy_func_t destroy);
HB_EXTERN hb_blob_t *
hb_blob_create_from_file (const char *file_name);
/* Always creates with MEMORY_MODE_READONLY. /* Always creates with MEMORY_MODE_READONLY.
* Even if the parent blob is writable, we don't * Even if the parent blob is writable, we don't
* want the user of the sub-blob to be able to * want the user of the sub-blob to be able to
@ -123,9 +126,6 @@ hb_blob_get_data (hb_blob_t *blob, unsigned int *length);
HB_EXTERN char * HB_EXTERN char *
hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length); hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length);
HB_EXTERN hb_blob_t *
hb_blob_create_from_file (const char *file_name);
HB_END_DECLS HB_END_DECLS
#endif /* HB_BLOB_H */ #endif /* HB_BLOB_H */