CosmWasm / wasmvm

Go bindings to the running cosmwasm contracts with wasmer
Apache License 2.0
173 stars 99 forks source link

Remove typedefs for cXYZ_cgo function signatures #477

Closed webmaster128 closed 9 months ago

webmaster128 commented 9 months ago

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.