new cwkt functions

FossilOrigin-Name: 761861b63db1cf750b9ae6da8a9057193b85a6aef7e9ea6fa0c2ac330a3d69e5
This commit is contained in:
7u83@mail.ru 2018-04-07 17:25:47 +00:00
parent 64377940ed
commit 85c11eb0cb
9 changed files with 17 additions and 0 deletions

View File

View File

17
src/cw/mlist_delete.c Normal file
View File

@ -0,0 +1,17 @@
#include <string.h>
#include "mlist.h"
struct mlistelem * mlist_replace(mlist_t list, void *data)
{
struct mlistelem *e;
e = mlist_get(list,data);
if (e == NULL)
return NULL;
return e;
}

View File

View File