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

br_uint_8/16/32


The Integral Type

BRender's unsigned integer types. Use this type where the integer word length is critical.

The typedef

(See compiler.h for precise declaration)

unsigned char br_uint_8 8 bit unsigned integer

unsigned short br_uint_16 16 bit unsigned integer

unsigned long br_uint_32 32 bit unsigned integer

Arithmetic

All standard C arithmetic operators are valid as with standard integer types.

Comparison

All standard C comparison operators are valid as with standard integer types.

Conversion

Use casts as with any other standard C type.

Copy/Assign

Freely assign. Use as a standard C type, as this type is only concerned with ensuring specific sizes - not representation.


Generated with
CERN WebMaker