mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Instead of assuming all declared (but not defined) functions are CGo functions, mark all pointer params of externally visible symbols 'nocapture'. This means you may not store pointers between function calls. This is already the case when calling CGo functions upstream: https://golang.org/cmd/cgo/#hdr-Passing_pointerspull/331/head
Ayke van Laethem
6 years ago
committed by
Ron Evans
2 changed files with 12 additions and 12 deletions
Loading…
Reference in new issue