mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 15:36:33 -05:00
Updates with latest TommyDS.
This commit is contained in:
parent
b423e7490e
commit
923a8237b6
3 changed files with 8 additions and 1 deletions
|
|
@ -32,6 +32,9 @@
|
|||
*
|
||||
* This is very similar at ::tommy_arrayblk, but it allows to store elements of any
|
||||
* size and not just pointers.
|
||||
*
|
||||
* Note that in this case tommy_arrayblkof_ref() returns a pointer at the element,
|
||||
* and it should be used for both get() and set() operation.
|
||||
*/
|
||||
|
||||
#ifndef __TOMMYARRAYBLKOF_H
|
||||
|
|
@ -61,6 +64,7 @@ typedef struct tommy_arrayblkof_struct {
|
|||
|
||||
/**
|
||||
* Initializes the array.
|
||||
* \param element_size Size in byte of the element to store in the array.
|
||||
*/
|
||||
void tommy_arrayblkof_init(tommy_arrayblkof* array, unsigned element_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue