btck_context_copy

Copy the context.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_Context*
btck_context_copy(btck_Context const* context);

Return Value

Opaque data structure for holding a kernel context.

NOTE

The return value should not be discarded.

Parameters

NameDescription
contextOpaque data structure for holding a kernel context.