FIDL internal library zx
The zx library is is defined in //zircon/vdso, and can be
depended on in-tree by adding the //zircon/vdso/zx target to a fidl
target's public_deps. If invoking fidlc directly, zx_common.fidl would
need to be included with a --files argument if necessary.
You can then reference this library with the using statement:
The types generally correspond to Zircon System
Types. For example,
zx.duration corresponds to zx_duration_t.
The
CHANNEL_MAX_MSG_BYTESandCHANNEL_MAX_MSG_HANDLESare bound atfidlccompile time (that is, when the compiler is compiled) and reflect the constants present at that time.
最后更新:
2022 年 12 月 31 日(Saturday) 21:07 CST