/************************************************************************/
/*                                                                      */
/* Copyright (c) 1988 -                                                 */
/*     The Rector and Visitors of the University of Virginia            */
/*                                                                      */
/* This code may not be distributed further without permission          */
/*      from the University of Virginia.                                */
/* This code is distributed WITHOUT ANY WARRANTY.  No claims are        */
/*      made as to whether it serves any particular purpose or even     */
/*      works at all.                                                   */
/*                                                                      */
/************************************************************************/

/* sizes in bytes of types */

#define SZ_INT 4
#define SZ_CHAR 1
#define SZ_DOUBLE 8
#define SZ_PTR 4

/* alignments */

#define AL_ANY 4
#define AL_INT 4
#define AL_CHAR 1
#define AL_DOUBLE 4
#define AL_PTR 4

#define ALIGN(x,y) (((x) + (y) - 1) / (y) * (y))

/* maximum block nesting levels */

#define OB_MAXLEVEL		20

/* maxint */

#define SZ_MAXINT	0x7fffffff
#define SZ_MAXCHAR	0xff
