2018-02-25 23:09:35 -08:00
|
|
|
#ifndef LIBABACUS_DEBUG_H
|
|
|
|
#define LIBABACUS_DEBUG_H
|
|
|
|
|
|
|
|
#include "tree.h"
|
2018-02-26 18:14:31 -08:00
|
|
|
#include <stdio.h>
|
2018-02-25 23:09:35 -08:00
|
|
|
|
2018-02-27 11:08:14 -08:00
|
|
|
/**
|
|
|
|
* Prints the given tree to the given file.
|
|
|
|
* @param print the tree to print.
|
|
|
|
* @param file the file to print to.
|
|
|
|
*/
|
2018-02-26 18:14:31 -08:00
|
|
|
void libab_debug_fprint_tree(libab_tree* print, FILE* file);
|
2018-02-27 11:08:14 -08:00
|
|
|
/**
|
|
|
|
* Prints the given tree to the standard output.
|
|
|
|
* @param print the tree to print.
|
|
|
|
*/
|
2018-02-25 23:09:35 -08:00
|
|
|
void libab_debug_print_tree(libab_tree* print);
|
|
|
|
|
|
|
|
#endif
|