From 34185ff3bc7ece5620145fc05da07c79da950f34 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 11 Nov 2018 00:12:30 -0500 Subject: [PATCH] [blob] Use default null object --- src/hb-blob.cc | 12 ------------ src/hb-blob.hh | 1 - 2 files changed, 13 deletions(-) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index efca833e2..26c0d143e 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -53,18 +53,6 @@ **/ -DEFINE_NULL_INSTANCE (hb_blob_t) = -{ - HB_OBJECT_HEADER_STATIC, - - nullptr, /* data */ - 0, /* length */ - HB_MEMORY_MODE_DUPLICATE, /* mode */ - - nullptr, /* user_data */ - nullptr /* destroy */ -}; - /** * hb_blob_create: (skip) * @data: Pointer to blob data. diff --git a/src/hb-blob.hh b/src/hb-blob.hh index 08afd5622..7007540c3 100644 --- a/src/hb-blob.hh +++ b/src/hb-blob.hh @@ -77,7 +77,6 @@ struct hb_blob_t void *user_data; hb_destroy_func_t destroy; }; -DECLARE_NULL_INSTANCE (hb_blob_t); /*