alef 0.23.33

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
	jsonPtrUpdated := C.{{ ffi_prefix }}_{{ type_snake }}_to_json(cRecv)
	if jsonPtrUpdated != nil {
		_ = json.Unmarshal([]byte(C.GoString(jsonPtrUpdated)), {{ recv }})
		C.{{ ffi_prefix }}_free_string(jsonPtrUpdated)
	}