add length_prefix_array_map_8_to_8

This commit is contained in:
Michael Sippel 2025-02-20 05:16:31 +01:00
parent d6107601a6
commit b88251b9c4
Signed by: senvas
GPG key ID: F96CF119C34B64A6
3 changed files with 24 additions and 9 deletions

View file

@ -197,15 +197,10 @@ impl LdmcMorphism {
let dst_c_type = get_c_repr_type(dict, self.get_type().dst_type, true).expect("cant get c-repr type for dst type");
let map_fn = match (src_c_type.as_str(), dst_c_type.as_str()) {
("struct LengthPrefixUInt64Array", "struct LengthPrefixUInt64Array") => {
"length_prefix_array_map_64_to_64"
},
("struct LengthPrefixUInt8Array", "struct LengthPrefixUInt64Array") => {
"length_prefix_array_map_8_to_64"
},
("struct LengthPrefixUInt64Array", "struct LengthPrefixUInt8Array") => {
"length_prefix_array_map_64_to_8"
},
("struct LengthPrefixUInt64Array", "struct LengthPrefixUInt64Array") => "length_prefix_array_map_64_to_64",
("struct LengthPrefixUInt8Array", "struct LengthPrefixUInt64Array") => "length_prefix_array_map_8_to_64",
("struct LengthPrefixUInt64Array", "struct LengthPrefixUInt8Array") => "length_prefix_array_map_64_to_8",
("struct LengthPrefixUInt8Array", "struct LengthPrefixUInt8Array") => "length_prefix_array_map_8_to_8",
_ => {
"{{ ERROR: no map function implemented }}"
}