Closed aldot closed 2 years ago
sed -i -e 's/param\[in] rd/param[out] rd/' ldns/str2host.h
or, more generally
find * -name "*.h" -exec sed -i -e '/param\[in] .* put /s/param\[in]/param[out]/' {} \+
for starters
Thanks. I have addressed the annotation of returning values via parameters at least for constructors in commit c01ce34 I noticed a few more inconsistencies, but will leave them for now as they involve style and not actual semantics.
Hi!
small doc glitch i thought i could mention.. Ok:
$ git grep -c "\[out" ldns/host2wire.h
ldns/host2wire.h:21Not so:
$ git grep -c "\[out" ldns/{str2host,host2str}.h
$ and hence too many [in]$ git grep -c "\[in" ldns/{str2host,host2str}.h
ldns/host2str.h:154 ldns/str2host.h:74I didn't look at other files. thanks,