ec_double_list_unshift

March 26, 2020 Contributors

Name

ec_double_list_unshift — prepends an item to the head of the list

Synopsis

#include "misc/ec_double_list.h"

| void **ec_double_list_unshift** ( | list, |   |
|   | data); |   |

ec_double_list * <var class="pdparam">list</var>;
void * <var class="pdparam">data</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

prepends an item to the head of the list

Parameters

list

the list

data

the data that will be the new head