[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
This commit is contained in:
parent
1ab1d3e38c
commit
4911062d5b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue