zt_pack_boolean
pack a boolean into a variant
- Provided by: libzt-doc (Version: 0.3.1-4build1)
- Source: libzt
- Report a bug
pack a boolean into a variant
#include
<zt.h>
zt_value
zt_pack_boolean(bool value,
const char *source);
zt_pack_boolean packs a boolean, as well
as the string describing the expression evaluated to obtain it, into a
variant-like zt_value. The source argument is retained
by the value and is typically a constant string literal produced by the
preprocessor.
zt_pack_boolean is only provided as a
static inline function.
The packed value.
zt_pack_nothing(3), zt_pack_boolean(3), zt_pack_rune(3), zt_pack_integer(3), zt_pack_unsigned(3), zt_pack_string(3), zt_pack_pointer(3) zt_value(3),
zt_pack_boolean first appeared in libzt
0.1
Zygmunt Krynicki <me@zygoon.pl>