| 1 | /* |
| 2 | $Header: d:/cvsroot/tads/TADS2/LST.H,v 1.2 1999/05/17 02:52:12 MJRoberts Exp $ |
| 3 | */ |
| 4 | |
| 5 | /* |
| 6 | * Copyright (c) 1991, 2002 Michael J. Roberts. All Rights Reserved. |
| 7 | * |
| 8 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 9 | * on using and copying this software. |
| 10 | */ |
| 11 | /* |
| 12 | Name |
| 13 | lst.h - list definitions |
| 14 | Function |
| 15 | Run-time list definitions |
| 16 | Notes |
| 17 | A TADS run-time list is essentially a packed counted array. |
| 18 | The first thing in a list is a ushort, which specifies the |
| 19 | number of elements in the list. The list elements are then |
| 20 | packed into the list immediately following. |
| 21 | Modified |
| 22 | 08/13/91 MJRoberts - creation |
| 23 | */ |
| 24 | |
| 25 | #ifndef LST_INCLUDED |
| 26 | #define LST_INCLUDED |
| 27 | |
| 28 | #ifndef DAT_INCLUDED |
| 29 | #include "dat.h" |
| 30 | #endif |
| 31 | |
| 32 | /* advance a list pointer/size pair to the next element of a list */ |
| 33 | void lstadv(uchar **lstp, uint *sizp); |
| 34 | |
| 35 | #endif /* LST_INCLUDED */ |