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