summaryrefslogtreecommitdiff
path: root/lib/nostd/sail_failure.h
blob: fd339097d2b57ee8d6f3207dfa7bb999444ed5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __SAIL_FAILURE__
#define __SAIL_FAILURE__

/*
 * Called when some builtin hits an unexpected case, such as overflow
 * when using 64- or 128-bit integers.
 */
void sail_failure(char *message);

/*
 * Called for pattern match failures
 */
void sail_match_failure(char *message);

#endif