[bindings] Use new non-null annotation feature in cbindgen
[rust-lightning] / lightning-c-bindings / cbindgen.toml
index 48267780f3190b9eeee6d1e49a3c686e8d288c20..9480b8688c71f6b6fba21c3cfbbeec6cef3df39e 100644 (file)
@@ -550,3 +550,6 @@ default_features = true
 #
 # default: []
 features = ["cbindgen"]
+
+[ptr]
+non_null_attribute = "NONNULL_PTR"