perl 4.0 patch 31: patch #20, continued
[p5sagit/p5-mst-13.2.git] / array.h
CommitLineData
bf10efe7 1/* $RCSfile: array.h,v $$Revision: 4.0.1.2 $$Date: 92/06/08 11:45:57 $
a687059c 2 *
2b317908 3 * Copyright (c) 1991, Larry Wall
a687059c 4 *
2b317908 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.
8d063cd8 7 *
8 * $Log: array.h,v $
bf10efe7 9 * Revision 4.0.1.2 92/06/08 11:45:57 lwall
10 * patch20: removed implicit int declarations on funcions
11 *
2b317908 12 * Revision 4.0.1.1 91/06/07 10:19:20 lwall
13 * patch4: new copyright notice
14 *
fe14fcc3 15 * Revision 4.0 91/03/20 01:03:44 lwall
16 * 4.0 baseline.
8d063cd8 17 *
18 */
19
20struct atbl {
21 STR **ary_array;
a687059c 22 STR **ary_alloc;
378cc40b 23 STR *ary_magic;
24 int ary_max;
25 int ary_fill;
a687059c 26 char ary_flags;
8d063cd8 27};
28
a687059c 29#define ARF_REAL 1 /* free old entries */
30
8d063cd8 31STR *afetch();
32bool astore();
8d063cd8 33STR *apop();
34STR *ashift();
378cc40b 35void afree();
36void aclear();
8d063cd8 37bool apush();
378cc40b 38int alen();
8d063cd8 39ARRAY *anew();
a687059c 40ARRAY *afake();
bf10efe7 41void aunshift();
42void afill();