mirror of
https://github.com/golang/go
synced 2024-11-22 16:44:54 -07:00
misc/cgo/gmp: fix typo.
R=golang-dev, minux CC=golang-dev https://golang.org/cl/8174045
This commit is contained in:
parent
4b7bf73c4b
commit
06ed730d87
@ -33,7 +33,7 @@ field; unrepresentable fields are replaced with opaque byte arrays. A
|
|||||||
C union translates into a struct containing the first union member and
|
C union translates into a struct containing the first union member and
|
||||||
perhaps additional padding. C arrays become Go arrays. C pointers
|
perhaps additional padding. C arrays become Go arrays. C pointers
|
||||||
become Go pointers. C function pointers become Go's uintptr.
|
become Go pointers. C function pointers become Go's uintptr.
|
||||||
C void pointer's become Go's unsafe.Pointer.
|
C void pointers become Go's unsafe.Pointer.
|
||||||
|
|
||||||
For example, mpz_t is defined in <gmp.h> as:
|
For example, mpz_t is defined in <gmp.h> as:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user