lclint-interest message 4

To: (Peter Chang)
Cc: (David Evans),
Subject: Re: improvement on predicates?
In-Reply-To: Message of Mon, 24 Oct 1994 18:45:54 +0100
    from (Peter Chang)
Date: Mon, 24 Oct 94 12:29:32 -0700
X-Mts: smtp


Sorry, I should have been a little more specific.  Bool isn't a standard
type of C, it's a standard type of LCL and LCLint.  Bool.h is

#if !defined(BOOL_H)
#define BOOL_H
#define FALSE 0
typedef int bool;
#define bool_initMod()

Pretty trivial, but, by using a different name, it allows LCL to distinguish
between things that are intended to be numbers and things that are intended
to be logical values.

Jim H.

Previous Message Next Message Archive Summary LCLint Home Page David Evans
University of Virginia, Computer Science