sav

Sorting Algorithms Visualized
Index Commits Files Refs README LICENSE
util.h (299B)
   1 #ifndef __UTIL_H__
   2 #define  __UTIL_H__
   3 
   4 #include "status.h"
   5 
   6 #define UNHEX(color) \
   7     ((color) >> (8 * 3)) & 0xFF, \
   8     ((color) >> (8 * 2)) & 0xFF, \
   9     ((color) >> (8 * 1)) & 0xFF, \
  10     ((color) >> (8 * 0)) & 0xFF
  11 
  12 
  13 void end(const char *msg);
  14 void swap(int *a, int *b);
  15 
  16 #endif // __UTIL_H__