Commit d8bc8db8 authored by Ilkka Ollakka's avatar Ilkka Ollakka

add comment that BlockChainAppend() can take NULL (somewhat obvious, but just in case)

parent 6aa2e63d
...@@ -180,7 +180,7 @@ static inline void block_Cleanup (void *block) ...@@ -180,7 +180,7 @@ static inline void block_Cleanup (void *block)
**************************************************************************** ****************************************************************************
* - block_ChainAppend : append a block to the last block of a chain. Try to * - block_ChainAppend : append a block to the last block of a chain. Try to
* avoid using with a lot of data as it's really slow, prefer * avoid using with a lot of data as it's really slow, prefer
* block_ChainLastAppend * block_ChainLastAppend, p_block can be NULL
* - block_ChainLastAppend : use a pointer over a pointer to the next blocks, * - block_ChainLastAppend : use a pointer over a pointer to the next blocks,
* and update it. * and update it.
* - block_ChainRelease : release a chain of block * - block_ChainRelease : release a chain of block
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment