alef 0.24.6

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)