提交 a0f337a1 编写于 作者: B Behdad Esfahbod

Remove unused hb_blob_try_writable_inplace()

上级 08611d51
......@@ -323,26 +323,6 @@ try_writable_inplace_locked (hb_blob_t *blob)
}
}
hb_bool_t
hb_blob_try_writable_inplace (hb_blob_t *blob)
{
hb_memory_mode_t mode;
if (hb_object_is_inert (blob))
return FALSE;
hb_mutex_lock (&blob->lock);
if (blob->mode == HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE)
try_writable_inplace_locked (blob);
mode = blob->mode;
hb_mutex_unlock (&blob->lock);
return mode == HB_MEMORY_MODE_WRITABLE;
}
hb_bool_t
hb_blob_try_writable (hb_blob_t *blob)
{
......
......@@ -86,9 +86,6 @@ hb_blob_unlock (hb_blob_t *blob);
hb_bool_t
hb_blob_is_writable (hb_blob_t *blob);
hb_bool_t
hb_blob_try_writable_inplace (hb_blob_t *blob);
hb_bool_t
hb_blob_try_writable (hb_blob_t *blob);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册