actube/src/cw/mlist_append_ptr.c
7u83@mail.ru 48aa62b5be discovery saves result in struct
clean-up works now

FossilOrigin-Name: b748ddb215a807c4634de1492c35aadfd4df7054b43bf73627b3ee67b224e0aa
2018-03-31 06:37:18 +00:00

13 lines
295 B
C

#include "mlist.h"
/**
* @brief Append a pointer value to mlist
* @param list List to append to
* @param ptr Pointer to append
* @return the created element or NULL if an error has occured
*/
mlistelem_t * mlist_append_ptr (mlist_t list, void * ptr)
{
return mlist_append (list, &ptr);
}