mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 16:32:47 +00:00
kernel: doc: explain return value for btck_WriteBytes callback
This is the only non-void callback type, so it makes sense to document what implementers should return.
This commit is contained in:
parent
e98d36715e
commit
ec4ec91d59
@ -349,6 +349,8 @@ typedef void (*btck_ValidationInterfaceBlockDisconnected)(void* user_data, btck_
|
||||
|
||||
/**
|
||||
* Function signature for serializing data.
|
||||
*
|
||||
* Returns 0 to indicate success.
|
||||
*/
|
||||
typedef int (*btck_WriteBytes)(const void* bytes, size_t size, void* userdata);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user