Add missing errors to struct

This commit is contained in:
Alex D. 2021-08-13 14:12:24 +00:00
parent 7fe0554931
commit eecd3f97ee
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
VERSION = 1.0
VERSION = 1.0.1
PREFIX = /usr/local

View File

@ -61,6 +61,15 @@ struct corelibs_llist_interface const llist = {
.cont = corelibs_llist_get_cont,
.next = corelibs_llist_get_next,
},
.err = {
.ok = CORELIBS_LLIST_ERR_OK,
.unknown = CORELIBS_LLIST_ERR_UNK,
.undef = CORELIBS_LLIST_ERR_UNDEF,
.mem = {
.null = CORELIBS_LLIST_ERR_NULL,
.alloc = CORELIBS_LLIST_ERR_ALLOC,
},
},
};
static llist_err