[blob] Use default null object

This commit is contained in:
Behdad Esfahbod 2018-11-11 00:12:30 -05:00
parent 2ee1d9f555
commit 34185ff3bc
2 changed files with 0 additions and 13 deletions

View File

@ -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.

View File

@ -77,7 +77,6 @@ struct hb_blob_t
void *user_data;
hb_destroy_func_t destroy;
};
DECLARE_NULL_INSTANCE (hb_blob_t);
/*