mirror of
https://github.com/logos-storage/nim-leopard.git
synced 2026-01-04 06:33:09 +00:00
[wip] use ptr pointer instead of pointer for leoEncode/leoDecode params in leopard/wrapper.nim
This commit is contained in:
parent
5aa83808f3
commit
3592d7ac7f
@ -242,8 +242,8 @@ proc leoEncode*(
|
||||
recoveryCount: cuint, ## Number of recovery data buffer pointers
|
||||
## (readable post-call from start of workData[])
|
||||
workCount: cuint, ## Number of workData[] buffer pointers
|
||||
originalData: pointer, ## Array of pointers to original data buffers
|
||||
workData: pointer, ## Array of pointers to work data buffers
|
||||
originalData: ptr pointer, ## Array of pointers to original data buffers
|
||||
workData: ptr pointer, ## Array of pointers to work data buffers
|
||||
): LeopardResult {.leo, importc: "leo_encode".}
|
||||
|
||||
|
||||
@ -287,7 +287,7 @@ proc leoDecode*(
|
||||
originalCount: cuint, ## Number of originalData[] buffer pointers
|
||||
recoveryCount: cuint, ## Number of recoveryData[] buffer pointers
|
||||
workCount: cuint, ## Number of workData[] buffer pointers
|
||||
originalData: pointer, ## Array of pointers to original data buffers
|
||||
recoveryData: pointer, ## Array of pointers to recovery data buffers
|
||||
workData: pointer, ## Array of pointers to work data buffers
|
||||
originalData: ptr pointer, ## Array of pointers to original data buffers
|
||||
recoveryData: ptr pointer, ## Array of pointers to recovery data buffers
|
||||
workData: ptr pointer, ## Array of pointers to work data buffers
|
||||
): LeopardResult {.leo, importc: "leo_decode".}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user