#include "linkedlist.hpp"
Functions | |
int | list_size (const Node *n) |
Size of the list from the node n. | |
Cell * | list_ith (Node *n, unsigned int i) |
Value at the position i (starting from 0). | |
Node * | list_erase (Node *n, Node *pos) |
Erase the value at position at node 'pos' of a list with head at 'n'. | |
Node * | list_insert (Node *n, Node *pos, Cell *c) |
Insert the value before the position 'pos' of a list with head at 'n'. | |
Node * | list_insert_int (Node *n, Node *pos, const int value) |
Insert an int before the position 'pos' of a list with head at 'n'. | |
Node * | list_insert_double (Node *n, Node *pos, const double value) |
Insert a double before the position 'pos' of a list with head at 'n'. | |
Node * | list_insert_symbol (Node *n, Node *pos, const char *value) |
Insert a symbol before the position 'pos' of a list with head at 'n'. |
Erase the value at position at node 'pos' of a list with head at 'n'.
Insert the value before the position 'pos' of a list with head at 'n'.
Insert a double before the position 'pos' of a list with head at 'n'.
Referenced by main().
Insert an int before the position 'pos' of a list with head at 'n'.
Referenced by main().
Insert a symbol before the position 'pos' of a list with head at 'n'.
Referenced by main().
Value at the position i (starting from 0).
int list_size | ( | const Node * | n | ) |