Skip to content

Commit

Permalink
[cgo] refs skycoin#105 Correcting memory util.droplet
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Sep 25, 2019
1 parent 364f127 commit e34fbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cgo/util.droplet.droplet.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ func SKY_droplet_FromString(_b string, _arg1 *uint64) (____error_code uint32) {
}

//export SKY_droplet_ToString
func SKY_droplet_ToString(_n uint64, _arg1 *string) (____error_code uint32) {
func SKY_droplet_ToString(_n uint64, _arg1 *C.GoString_) (____error_code uint32) {
n := _n
__arg1, ____return_err := droplet.ToString(n)
____error_code = libErrorCode(____return_err)
if ____return_err == nil {
*_arg1 = __arg1
copyString(__arg1, _arg1)
}
return
}

0 comments on commit e34fbf6

Please sign in to comment.