summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk/newobj.h
blob: 52beb0737ea69a1aefa8e071c9774a6e502e3d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 *   newobj.h
 *
 *   This file is part of the ttf2pk package.
 *
 *   Copyright 1997-1999, 2000 by
 *     Frederic Loyer <loyer@ensta.fr>
 *     Werner Lemberg <wl@gnu.org>
 */

#ifndef NEWOBJ_H
#define NEWOBJ_H

#include <stdio.h>
#include "ttf2tfm.h"


#if (defined(MSDOS) && defined(__TURBOC__)) || \
    (defined(OS2) && defined(_MSC_VER))
#define SMALLMALLOC
#endif


void *mymalloc(size_t len);
void *mycalloc(size_t len);
void *myrealloc(void *oldp, size_t len);

char *get_line(FILE *f);
Boolean texlive_getline(char **bufferp, FILE *f);
char *newstring(const char *s);

ttfinfo *newchar(Font *fnt);
kern *newkern(void);
pcc *newpcc(void);
lig *newlig(void);
stringlist *newstringlist(void);

void init_font_structure(Font *fnt);

#endif /* NEWOBJ_H */


/* end */