Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_push_front.c File Reference

The file containing the my_push_front function. More...

#include "mylist.h"

Functions

void my_push_front (node_t **begin, void *data, type_t type)
 Adds a node at the beginning of the list.
 

Detailed Description

The file containing the my_push_front function.

Author
Nicolas TORO

Function Documentation

◆ my_push_front()

void my_push_front ( node_t ** begin,
void * data,
type_t type )

Adds a node at the beginning of the list.

Parameters
beginThe beginning of the list
dataThe data to add
typeThe type of the data
Returns
void
Author
Nicolas TORO