Skip to content

Commit

Permalink
[cgo] refs #105 Correcting declare `SKY_params_Distribution_GetAddres…
Browse files Browse the repository at this point in the history
…ses`
  • Loading branch information
Maykel Arias Torres committed Sep 14, 2019
1 parent ecf5710 commit deeeeeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/cgo/params.distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,14 @@ func SKY_params_Distribution_SetUnlockTimeInterval(_d C.Distribution__Handle, _a
}

//export SKY_params_Distribution_GetAddresses
func SKY_params_Distribution_GetAddresses(_d C.Distribution__Handle, __return_strings *[]string) (____error_code uint32) {
func SKY_params_Distribution_GetAddresses(_d C.Distribution__Handle, _arg0 *C.Strings__Handle) (____error_code uint32) {
d, ok := lookupDistributionHandle(_d)
if !ok {
____error_code = SKY_BAD_HANDLE
return
}
*__return_strings = d.Addresses
arg0 := d.Addresses
*_arg0 = registerStringsHandle(arg0)
return
}

Expand Down

0 comments on commit deeeeeb

Please sign in to comment.