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

[shape-plan] Remove use of custom null object

上级 109891d4
...@@ -103,30 +103,6 @@ hb_shape_plan_plan (hb_shape_plan_t *shape_plan, ...@@ -103,30 +103,6 @@ hb_shape_plan_plan (hb_shape_plan_t *shape_plan,
* hb_shape_plan_t * hb_shape_plan_t
*/ */
DEFINE_NULL_INSTANCE (hb_shape_plan_t) =
{
HB_OBJECT_HEADER_STATIC,
nullptr, /* face */
false, /* custom_shaper_list */
HB_SEGMENT_PROPERTIES_DEFAULT, /* props */
nullptr, /* shaper_func */
nullptr, /* shaper_name */
nullptr, /* user_features */
0, /* num_user_featurs */
nullptr, /* coords */
0, /* num_coords */
{
#define HB_SHAPER_IMPLEMENT(shaper) HB_ATOMIC_PTR_INIT (HB_SHAPER_DATA_INVALID),
#include "hb-shaper-list.hh"
#undef HB_SHAPER_IMPLEMENT
},
};
/** /**
* hb_shape_plan_create: (Xconstructor) * hb_shape_plan_create: (Xconstructor)
......
...@@ -50,7 +50,6 @@ struct hb_shape_plan_t ...@@ -50,7 +50,6 @@ struct hb_shape_plan_t
struct hb_shaper_data_t shaper_data; struct hb_shaper_data_t shaper_data;
}; };
DECLARE_NULL_INSTANCE (hb_shape_plan_t);
#define HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS \ #define HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS \
, const hb_feature_t *user_features \ , const hb_feature_t *user_features \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册