tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pair.h File Reference
#include "tm.h"
Include dependency graph for pair.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pair
 

Macros

#define PPAIR_ALLOC(f, s)   Ppair_alloc(f, s)
 
#define PPAIR_FREE(p)   Ppair_free(p)
 
#define TMPAIR_ALLOC(f, s)   TMpair_alloc(TM_ARG f, s)
 
#define TMPAIR_FREE(p)   TMpair_free(TM_ARG p)
 

Typedefs

typedef struct pair pair_t
 

Functions

pair_tpair_alloc (void *firstPtr, void *secondPtr)
 
pair_tPpair_alloc (void *firstPtr, void *secondPtr)
 
pair_tTMpair_alloc (TM_ARGDECL void *firstPtr, void *secondPtr)
 
void pair_free (pair_t *pairPtr)
 
void Ppair_free (pair_t *pairPtr)
 
void TMpair_free (TM_ARGDECL pair_t *pairPtr)
 
void pair_swap (pair_t *pairPtr)
 

Macro Definition Documentation

#define PPAIR_ALLOC (   f,
 
)    Ppair_alloc(f, s)
#define PPAIR_FREE (   p)    Ppair_free(p)
#define TMPAIR_ALLOC (   f,
 
)    TMpair_alloc(TM_ARG f, s)
#define TMPAIR_FREE (   p)    TMpair_free(TM_ARG p)

Typedef Documentation

typedef struct pair pair_t

Function Documentation

pair_t* pair_alloc ( void *  firstPtr,
void *  secondPtr 
)

Here is the caller graph for this function:

void pair_free ( pair_t pairPtr)

Here is the caller graph for this function:

void pair_swap ( pair_t pairPtr)
pair_t* Ppair_alloc ( void *  firstPtr,
void *  secondPtr 
)
void Ppair_free ( pair_t pairPtr)
pair_t* TMpair_alloc ( TM_ARGDECL void *  firstPtr,
void *  secondPtr 
)
void TMpair_free ( TM_ARGDECL pair_t pairPtr)