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

#include "h-basic.h"

// C linkage required for these functions since main-* code uses them.
#ifdef __cplusplus
extern "C" {
#endif

errr path_build(char *buf, int max, cptr path, cptr file);
void bell(void);
errr macro_add(cptr pat, cptr act);
sint macro_find_exact(cptr pat);
char inkey(void);
void prt(cptr str, int row, int col);

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