bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
157 stars 59 forks source link

Calling convention does not conform to proposed cgo tool restritions #9

Closed bmatsuo closed 8 years ago

bmatsuo commented 8 years ago

Proposal: https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md

C functions that take an MDBval* are not meeting the restrictions proposed in go#12416. The pointers in the argument's mv_data argument is usually a Go pointer. The infractions should be fixed before the implementation is finalized and lands on tip.