Copy a coin.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_Coin*
btck_coin_copy(btck_Coin const* coin);

Return Value

The copied coin.

Note

The return value should not be discarded.

Parameters

Name

Description

coin [in]

Non‐null.

Created with MrDocs