From: Not Zed Date: Thu, 10 Jun 2021 08:37:00 +0000 (+0930) Subject: Add TRANSIENTP cases for basic-encoded blobs X-Git-Url: https://code.zedzone.au/cvs?a=commitdiff_plain;h=606e83bc03bfbb867150c2e53513a24e019652f4;p=libeze Add TRANSIENTP cases for basic-encoded blobs --- diff --git a/ez-blob-basic.c b/ez-blob-basic.c index 9378577..88d1375 100644 --- a/ez-blob-basic.c +++ b/ez-blob-basic.c @@ -83,6 +83,8 @@ size_t ez_basic_size(const ez_blob_desc *desc, const void *p) { else abort(); break; + case EZ_BLOB_TRANSIENTP: + break; default: abort(); } @@ -151,6 +153,9 @@ int ez_basic_decode_raw(const ez_blob_desc *desc, const ez_blob *blob, void *p) } else abort(); break; + case EZ_BLOB_TRANSIENTP: + *(void **)v = NULL; + break; default: abort(); } @@ -235,6 +240,8 @@ int ez_basic_encode_raw(const ez_blob_desc *desc, const void *p, ez_blob *blob) } else abort(); break; + case EZ_BLOB_TRANSIENTP: + break; default: abort(); }