summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/crash.h
blob: 7f97b91eda8601b3516dd0522b3acf33ade3054f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *  File:       crash.h
 *  Summary:    Platform specific crash handling functions.
 *  Written by: Matthew cline
 */

#ifndef CRASH_H
#define CRASH_H

#include <stdio.h>

void init_crash_handler();
void dump_crash_info(FILE* file);
void write_stack_trace(FILE* file, int ignore_count);

#endif