]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/gmp: update for Go 1
authorShenghou Ma <minux.ma@gmail.com>
Tue, 20 Mar 2012 16:51:48 +0000 (00:51 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 20 Mar 2012 16:51:48 +0000 (00:51 +0800)
commit1abd8d8fd04fd64f90d3c1cbce675ab2317ec449
treee63fe8f5130a33379a4955d0239d47be974b6c4a
parent4b1933dfb2a332a6a9744c7d5b05ea08f9909658
misc/cgo/gmp: update for Go 1
1. make the program go buildable
2. update os.EINVAL and runtime.Cgocalls()
3. wrap mpz_div_2exp() and mpz_mul_2exp to support both
   pre-5.0 and post-5.0 gmp (we really have no reason to
   restrict ourselves to gmp 5.0+)

R=golang-dev, remyoudompheng, iant
CC=golang-dev
https://golang.org/cl/5847061
misc/cgo/gmp/gmp.go
misc/cgo/gmp/pi.go