btck::UniqueHandle::UniqueHandle

Takes ownership of ptr, throwing if it is null.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

explicit
UniqueHandle(CType* ptr);

Parameters

NameDescription
ptrThe C handle to own.