alef 0.19.10

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
func decodeNodeContext(ctxJSON *C.char) NodeContext {
	var ctx NodeContext
	if ctxJSON == nil {
		return ctx
	}
	_ = json.Unmarshal([]byte(C.GoString(ctxJSON)), &ctx)
	return ctx
}