提交 2ee1d9f5 编写于 作者: B Behdad Esfahbod

[blob] Change null object memory mode to DUPLICATE

We never rely on that being equal to readonly.  Just not being
writable.  Maybe not even that given that the object is inert.

In prep for next commit, using default null pool.
上级 5d0078a4
...@@ -59,7 +59,7 @@ DEFINE_NULL_INSTANCE (hb_blob_t) = ...@@ -59,7 +59,7 @@ DEFINE_NULL_INSTANCE (hb_blob_t) =
nullptr, /* data */ nullptr, /* data */
0, /* length */ 0, /* length */
HB_MEMORY_MODE_READONLY, /* mode */ HB_MEMORY_MODE_DUPLICATE, /* mode */
nullptr, /* user_data */ nullptr, /* user_data */
nullptr /* destroy */ nullptr /* destroy */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册