Fix and clean up some comments
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
9f25de3dce
commit
eba87789ab
37 changed files with 73 additions and 69 deletions
|
@ -63,10 +63,10 @@ enum nsc_type {
|
|||
NSC_NATID = NSC_UCHAR /* nation id */
|
||||
};
|
||||
|
||||
/* Is TYPE a promoted value type? */
|
||||
/* Is TYPE a promoted value type? */
|
||||
#define NSC_IS_PROMOTED(type) (NSC_LONG <= (type) && (type) <= NSC_STRING)
|
||||
|
||||
/* Return nsc_type for a signed integer with the same size as TYPE. */
|
||||
/* Return nsc_type for a signed integer with the same size as TYPE. */
|
||||
#define NSC_SITYPE(type) \
|
||||
(sizeof(type) == 1 ? NSC_CHAR \
|
||||
: sizeof(type) == sizeof(short) ? NSC_SHORT \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue