asGBoolean

fun Boolean.asGBoolean(): <Error class: unknown class>

Converts a Kotlin Boolean into its native C equivalent gboolean.

In the C language, gboolean is typically represented as an integer, where 1 corresponds to true and 0 corresponds to false.

Receiver

The Kotlin Boolean value to convert.

Return

1 if the Boolean is true, or 0 if it is false.