BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):br_boolean
Next|Prev|Up
The Integral Type
Arithmetic
Comparison
Conversion
Copy/Assign

br_boolean


The Integral Type

BRender's boolean type. Use this type where only a boolean value is intended.

The typedef

(See compiler.h for precise declaration)

int br_boolean Normal type of boolean C expression

Arithmetic

All standard C arithmetic operators are valid as with the standard C boolean type, i.e int.

Comparison

All standard C comparison operators are valid as with the standard C boolean type, i.e int.

Conversion

From True

BR_TRUE

Use as a value representing boolean true.

From False

BR_FALSE

Use as a value representing boolean true.

From any integral type

BR_BOOLEAN(exp)

Converts exp from any integral or pointer value into a boolean value.

Copy/Assign

Freely assign (br_boolean to br_boolean, that is). Use wherever a boolean value is intended.


Generated with
CERN WebMaker