summaryrefslogtreecommitdiff
path: root/src/utils.h
blob: de1d0671188f38d341497190293464fc2af65c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _TTF2F_UTILS_H_
#define _TTF2F_UTILS_H_

#ifndef UNUSED
#define UNUSED(x) ((x)=(x))
#endif

#ifdef __riscos__
#define DIR_SEP "."
#else
#define DIR_SEP "/"
#endif

void ttf2f_poll(int active);
char *strndup(const char *s, size_t n);
long convert_units(long raw, long ppem);

#endif