perl 4.0 patch 5: patch #4, continued
[p5sagit/p5-mst-13.2.git] / array.h
1 /* $RCSfile: array.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 10:19:20 $
2  *
3  *    Copyright (c) 1991, Larry Wall
4  *
5  *    You may distribute under the terms of either the GNU General Public
6  *    License or the Artistic License, as specified in the README file.
7  *
8  * $Log:        array.h,v $
9  * Revision 4.0.1.1  91/06/07  10:19:20  lwall
10  * patch4: new copyright notice
11  * 
12  * Revision 4.0  91/03/20  01:03:44  lwall
13  * 4.0 baseline.
14  * 
15  */
16
17 struct atbl {
18     STR **ary_array;
19     STR **ary_alloc;
20     STR *ary_magic;
21     int ary_max;
22     int ary_fill;
23     char ary_flags;
24 };
25
26 #define ARF_REAL 1      /* free old entries */
27
28 STR *afetch();
29 bool astore();
30 STR *apop();
31 STR *ashift();
32 void afree();
33 void aclear();
34 bool apush();
35 int alen();
36 ARRAY *anew();
37 ARRAY *afake();