libabacus/include/debug.h

20 lines
424 B
C
Raw Normal View History

#ifndef LIBABACUS_DEBUG_H
#define LIBABACUS_DEBUG_H
#include "tree.h"
2018-02-26 18:14:31 -08:00
#include <stdio.h>
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.
*/
void libab_debug_print_tree(libab_tree* print);
#endif