View Source Unifex.CodeGenerator.BaseTypes.Bool (Unifex v1.2.1)

Module implementing Unifex.CodeGenerator.BaseType behaviour for boolean atoms.

Booleans in native code are converted to int with value either 0 or 1.

Implemented both for NIF and CNode as function parameter as well as return type.