alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
// Register{{ name }} registers a {{ name }} implementation with the C runtime.
func Register{{ name }}(impl {{ name }}) error {
	bridge := New{{ name }}Bridge(impl)
	handle := cgo.NewHandle(bridge)