contrib/OWB: add correct SDL dependency, fix compilers used
[AROS-Contrib.git] / freetype1 / contrib / ttf2pk / newobj.h
blobd238361cb21068ec60e874876a0fe2857747d539
1 /*
2 * newobj.h
4 * This file is part of the ttf2pk package.
6 * Copyright 1997-1999 by
7 * Frederic Loyer <loyer@ensta.fr>
8 * Werner Lemberg <wl@gnu.org>
9 */
11 #ifndef NEWOBJ_H
12 #define NEWOBJ_H
14 #include <stdio.h>
15 #include "ttf2tfm.h"
18 #if (defined(MSDOS) && defined(__TURBOC__)) || \
19 (defined(OS2) && defined(_MSC_VER))
20 #define SMALLMALLOC
21 #endif
24 void *mymalloc(size_t len);
25 void *mycalloc(size_t len);
26 void *myrealloc(void *oldp, size_t len);
28 char *get_line(FILE *f);
29 Boolean getline(char **bufferp, FILE *f);
30 char *newstring(char *s);
32 ttfinfo *newchar(Font *fnt);
33 kern *newkern(void);
34 pcc *newpcc(void);
35 lig *newlig(void);
36 stringlist *newstringlist(void);
38 void init_font_structure(Font *fnt);
40 #endif /* NEWOBJ_H */
43 /* end */