2018-03-12 11:22:06 +01:00
|
|
|
#include "mlist.h"
|
|
|
|
|
2018-03-31 08:37:18 +02:00
|
|
|
/**
|
|
|
|
* @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
|
|
|
|
*/
|
2018-03-12 11:22:06 +01:00
|
|
|
mlistelem_t * mlist_append_ptr (mlist_t list, void * ptr)
|
|
|
|
{
|
|
|
|
return mlist_append (list, &ptr);
|
|
|
|
}
|