Graphviz  2.41.20170921.2350
Functions | Variables
misc.h File Reference
#include <stdlib.h>
#include <setjmp.h>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Assert (int assertion, char *error)
 
void * SafeMalloc (size_t size)
 

Variables

jmp_buf rb_jbuf
 

Function Documentation

void Assert ( int  assertion,
char *  error 
)

Definition at line 33 of file misc.c.

References rb_jbuf.

Referenced by LeftRotate(), RBDelete(), RBDeleteFixUp(), RBTreeInsert(), RightRotate(), and TreeInsertHelp().

void* SafeMalloc ( size_t  size)

Definition at line 56 of file misc.c.

References rb_jbuf.

Referenced by RBTreeCreate(), RBTreeInsert(), StackCreate(), and StackPush().

Variable Documentation

jmp_buf rb_jbuf

Definition at line 13 of file misc.c.

Referenced by Assert(), RBEnumerate(), RBTreeCreate(), RBTreeInsert(), and SafeMalloc().