We maintain those signatures manually for 4 years now but it turns out it does not matter at all what's in there. They are all converted to a raw untyped pointer in Go.
To test this, try swapping e.g. C.query_external_fn with C.scan_db_fn. It does not matter which one you use. They are all aliases to the Go type *[0]byte.
We maintain those signatures manually for 4 years now but it turns out it does not matter at all what's in there. They are all converted to a raw untyped pointer in Go.
To test this, try swapping e.g.
C.query_external_fn
withC.scan_db_fn
. It does not matter which one you use. They are all aliases to the Go type*[0]byte
.