2
$Header: d:/cvsroot/tads/TADS2/DAT.H,v 1.2 1999/05/17 02:52:11 MJRoberts Exp $
6
* Copyright (c) 1991, 2002 Michael J. Roberts. All Rights Reserved.
8
* Please see the accompanying license file, LICENSE.TXT, for information
9
* on using and copying this software.
13
dat.h - datatype definitions
15
Defines datatypes for TADS
19
08/11/91 MJRoberts - creation
29
/* a type of a piece of data */
32
/* datatype numbers */
37
#define DAT_NIL 5 /* nil, as in FALSE or empty list */
40
#define DAT_TRUE 8 /* inverse of nil */
42
#define DAT_FNADDR 10 /* a function address */
43
#define DAT_TPL 11 /* template list pointer */
44
#define DAT_PROPNUM 13 /* a property number */
45
#define DAT_DEMAND 14 /* special flag: use callback to set on use */
46
#define DAT_SYN 15 /* synonym to indicated property value */
47
#define DAT_REDIR 16 /* redirection to different object */
48
#define DAT_TPL2 17 /* new-style template */
50
/* determine the size of a piece of data */
51
uint datsiz(dattyp typ, void *valptr);
53
#endif /* DAT_INCLUDED */