alef 0.23.15

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
	jsonBytes{{ c_name }}, err := json.Marshal({{ go_param }})
	if err != nil {
		{{ err_action }}
	}
	{{ c_name }} := C.CString(string(jsonBytes{{ c_name }}))
	defer C.free(unsafe.Pointer({{ c_name }}))