diff options
Diffstat (limited to 'go/bls/mcl.go')
-rw-r--r-- | go/bls/mcl.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/go/bls/mcl.go b/go/bls/mcl.go index b8130e2..afb57b8 100644 --- a/go/bls/mcl.go +++ b/go/bls/mcl.go @@ -420,6 +420,12 @@ func (x *GT) Clear() { C.mclBnGT_clear(x.getPointer()) } +// SetInt64 -- +func (x *GT) SetInt64(v int64) { + // #nosec + C.mclBnGT_setInt(x.getPointer(), C.int64_t(v)) +} + // SetString -- func (x *GT) SetString(s string, base int) error { buf := []byte(s) |