tlds
Transactional Operations for Linked Data Structures
|
#include <math.h>
#include <stdlib.h>
#include "coordinate.h"
#include "pair.h"
#include "tm.h"
#include "types.h"
Functions | |
coordinate_t * | coordinate_alloc (long x, long y, long z) |
void | coordinate_free (coordinate_t *coordinatePtr) |
bool_t | coordinate_isEqual (coordinate_t *aPtr, coordinate_t *bPtr) |
static double | getPairDistance (pair_t *pairPtr) |
long | coordinate_comparePair (const void *aPtr, const void *bPtr) |
bool_t | coordinate_areAdjacent (coordinate_t *aPtr, coordinate_t *bPtr) |
coordinate_t* coordinate_alloc | ( | long | x, |
long | y, | ||
long | z | ||
) |
bool_t coordinate_areAdjacent | ( | coordinate_t * | aPtr, |
coordinate_t * | bPtr | ||
) |
long coordinate_comparePair | ( | const void * | aPtr, |
const void * | bPtr | ||
) |
void coordinate_free | ( | coordinate_t * | coordinatePtr | ) |
bool_t coordinate_isEqual | ( | coordinate_t * | aPtr, |
coordinate_t * | bPtr | ||
) |
|
static |