Provided by: libzt-doc_0.3.1-4_all
NAME
zt_pack_pointer — pack an opaque pointer into a variant
SYNOPSIS
#include <zt.h> zt_value zt_pack_pointer(const void *value, const char *source);
DESCRIPTION
zt_pack_pointer packs an opaque pointer, 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.
IMPLEMENTATION NOTES
zt_pack_pointer is only provided as a static inline function.
RETURN VALUES
The packed value.
SEE ALSO
zt_pack_nothing(3), zt_pack_pointer(3), zt_pack_rune(3), zt_pack_pointer(3), zt_pack_pointer(3), zt_pack_pointer(3), zt_pack_pointer(3) zt_value(3),
HISTORY
zt_pack_pointer first appeared in libzt 0.1
AUTHORS
Zygmunt Krynicki <me@zygoon.pl>