Throws if a freshly returned C handle is null, otherwise passes it through.
Declared in <kernel/bitcoinkernel_wrapper.h>
template<typename T>
T
check(T ptr);
ptr unchanged when it is non-null.
| Name | Description |
|---|---|
| ptr | The pointer returned by a btck_* creation function. |