home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / PERL4036.ZIP / array.h < prev    next >
C/C++ Source or Header  |  1993-02-08  |  898b  |  43 lines

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