projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make panics in macros more debug-able by giving them a unique print
[ldk-c-bindings]
/
lightning-c-bindings
/
cbindgen.toml
diff --git
a/lightning-c-bindings/cbindgen.toml
b/lightning-c-bindings/cbindgen.toml
index ec6c74d97cb08ee5fadb86fc9f28150be38d11e3..f49d50e7d7c148a9de3c346a71cc9b2ff47479c2 100644
(file)
--- a/
lightning-c-bindings/cbindgen.toml
+++ b/
lightning-c-bindings/cbindgen.toml
@@
-29,3
+29,6
@@
must_use = "MUST_USE_ENUM"
[ptr]
non_null_attribute = "NONNULL_PTR"
[ptr]
non_null_attribute = "NONNULL_PTR"
+
+[defines]
+"test_mod_pointers" = "LDK_DEBUG_BUILD"