]> git.ozlabs.org Git - ccan/commit
tal, tal/str: allow annotation with returns_nonnull if they opt in.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Mar 2024 23:18:10 +0000 (09:48 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Jun 2024 02:46:26 +0000 (12:16 +0930)
commit01bc8f9091e2bc2b285b568cf1f9d1347a5ec8de
treedcb63daf0c702c001d96f070fa4ffbefaf54b629
parent4e192d2e06b8219d1c79c8ab63fac0bf1d44bee7
tal, tal/str: allow annotation with returns_nonnull if they opt in.

This is true if you don't override the error callback, and helps with
optimization (and warnings!).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/str/str.h
ccan/tal/tal.h