nanogui: typedef int MWBOOL;
Subject:
typedef int MWBOOL;
From:
Dave Poirier ####@####.####
Date:
4 Jan 2002 03:53:14 -0000
Message-Id: <20020104035107.GA21033@void-core.2y.net>
I'm currently working on a project of porting nano-X to another
operating system and I came across this typedef, which seems like a
little huge for its use.
Unless I'm mistaken, a boolean value take either the value "true" or
"false", some prefer to use "1" or "0", etc. But in all cases, it has
only 2 possible values, shouldn't a unsigned char be more than
sufficient to store it instead a wasting 4 bytes of data for it?
ref: include/mwtypes.h
--
EKS - Dave Poirier ####@####.####
"may the hairs on his toes never fall out" http://uuu.sf.net/