Exemple #1
0
struct linkedList *createLinkedList()
{
	struct linkedList *newList = malloc(sizeof(struct linkedList)); //create a new list
	_initList(newList); //initialize the list
	return(newList);
}
Exemple #2
0
struct linkedList *createLinkedList()
{
	struct linkedList *newList = malloc(sizeof(struct linkedList));
	_initList(newList);
	return(newList);
}
Exemple #3
0
linkedList * createLinkedList() {
    linkedList *newList = malloc(sizeof(linkedList));
    assert(newList);
    _initList(newList);
    return(newList);
}