use c2fn in insert_base

This commit is contained in:
dzaima 2023-04-21 22:18:40 +03:00
parent d2ac5db1c8
commit 078ee7af97

View File

@ -37,9 +37,10 @@ B insert_base(B f, B x, usz xia, bool has_w, B w) {
p -= x_csz;
r = SLICE(x, p);
}
BBB2B fc2 = c2fn(f);
while(p!=0) {
p-= x_csz;
r = c2(f, SLICE(x, p), r);
r = fc2(f, SLICE(x, p), r);
}
E_SLICES(x)
return r;