提交 e857527a authored 作者: Stefan Knoblich's avatar Stefan Knoblich

FreeTDM: Rewrite "ftdm core" print_* functions (to use new span iterator)

Simplify code by using shared string constants using bool (0/1) index,
!!-operator and negation-via-XOR.

Future optimization: Preallocate and re-use of iterators, to avoid
repeatedly allocating and freeing of memory.
Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
上级 5154bd84
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论