Remove unused hb_blob_try_writable_inplace()

This commit is contained in:
Behdad Esfahbod 2011-05-06 19:20:52 -04:00
parent 08611d5194
commit a0f337a1cc
2 changed files with 0 additions and 23 deletions

View File

@ -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)
{

View File

@ -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);