data_structures
Functions
hashset_remove.c File Reference
#include "hashset.h"
#include "hashset_utils.h"
+ Include dependency graph for hashset_remove.c:

Go to the source code of this file.

Functions

void hashset_remove (t_hashset *hs, const void *val)
 Removed the specified element from the set. More...
 

Function Documentation

◆ hashset_remove()

void hashset_remove ( t_hashset hs,
const void *  val 
)

Removed the specified element from the set.

Parameters
valThe value
Returns
1 on success, 0 if the element is not in the set.

Definition at line 32 of file hashset_remove.c.