First version of dfa module in alex. This version uses yacc to parse
[idzebra-moved-to-github.git] / dfa / imalloc.h
1 /*
2  * Copyright (C) 1994, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: imalloc.h,v $
7  * Revision 1.1  1994-09-26 10:16:54  adam
8  * First version of dfa module in alex. This version uses yacc to parse
9  * regular expressions. This should be hand-made instead.
10  *
11  */
12
13 void *imalloc        (size_t);
14 void *icalloc        (size_t);
15
16 #ifdef MEMDEBUG
17 void  i_free         (void *);
18 void  imemstat       (void);
19
20 extern long alloc;
21 extern long max_alloc;
22 extern int  alloc_calls;
23 extern int  free_calls;
24 #define ifree i_free
25
26 #else
27
28 #ifdef ANSI
29 #define ifree free
30 #else
31 void  i_free         (void *);
32 #define ifree i_free
33 #endif
34
35 #endif
36
37