summaryrefslogtreecommitdiff
path: root/src/z-util.h
blob: 28ed099c808c63ad485584c38bd7efd4002cfef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "h-basic.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Aux functions */
extern void (*plog_aux)(const char *);
extern void (*quit_aux)(const char *);

/* Print an error message */
void plog(const char *str);

/* Exit, with optional message */
void quit(const char *str);


#ifdef __cplusplus
} /* extern "C" */
#endif