aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-09 06:08:49 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-09 06:08:49 +0800
commitbee8d21f16cfd835371590b9c03578afe749a8e5 (patch)
treed6f0171fb324b4b8068f465c98a85c8ac23a2b0c
parente99e96c7d1f169045f3e7cb3f9f4b3d5b4c97ec0 (diff)
downloaddexon-mcl-bee8d21f16cfd835371590b9c03578afe749a8e5.tar.gz
dexon-mcl-bee8d21f16cfd835371590b9c03578afe749a8e5.tar.zst
dexon-mcl-bee8d21f16cfd835371590b9c03578afe749a8e5.zip
rename SetInt to SetInt64
-rw-r--r--ffi/go/mcl/mcl.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffi/go/mcl/mcl.go b/ffi/go/mcl/mcl.go
index c2456b9..de9e5aa 100644
--- a/ffi/go/mcl/mcl.go
+++ b/ffi/go/mcl/mcl.go
@@ -47,10 +47,10 @@ func (x *Fr) Clear() {
C.mclBnFr_clear(x.getPointer())
}
-// SetInt --
-func (x *Fr) SetInt(v int) {
+// SetInt64 --
+func (x *Fr) SetInt64(v int64) {
// #nosec
- C.mclBnFr_setInt(x.getPointer(), C.int(v))
+ C.mclBnFr_setInt(x.getPointer(), C.int64_t(v))
}
// SetString --