[API] Rename hb_blob_create_empty() to hb_blob_get_empty()

This commit is contained in:
Behdad Esfahbod 2011-05-02 19:36:39 -04:00
parent 1ab1d3e38c
commit 4911062d5b
4 changed files with 4 additions and 4 deletions

View File

@ -141,7 +141,7 @@ hb_blob_create_sub_blob (hb_blob_t *parent,
} }
hb_blob_t * hb_blob_t *
hb_blob_create_empty (void) hb_blob_get_empty (void)
{ {
return &_hb_blob_nil; return &_hb_blob_nil;
} }

View File

@ -54,7 +54,7 @@ hb_blob_create_sub_blob (hb_blob_t *parent,
unsigned int length); unsigned int length);
hb_blob_t * hb_blob_t *
hb_blob_create_empty (void); hb_blob_get_empty (void);
hb_blob_t * hb_blob_t *
hb_blob_reference (hb_blob_t *blob); hb_blob_reference (hb_blob_t *blob);

View File

@ -443,7 +443,7 @@ hb_face_reference_table (hb_face_t *face,
blob = face->get_table (tag, face->user_data); blob = face->get_table (tag, face->user_data);
if (unlikely (!blob)) if (unlikely (!blob))
blob = hb_blob_create_empty(); blob = hb_blob_get_empty();
return blob; return blob;
} }

View File

@ -334,7 +334,7 @@ struct Sanitizer
return blob; return blob;
else { else {
hb_blob_destroy (blob); hb_blob_destroy (blob);
return hb_blob_create_empty (); return hb_blob_get_empty ();
} }
} }