Skip to content

Commit

Permalink
naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
Quodss committed Aug 5, 2024
1 parent 3ddba6a commit d242217
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pkg/noun/jets/c/aor.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@
else {
if ( c3n == u3ud(b) ) return c3y;
{
c3_w len_a_y = u3r_met(3, a);
c3_w len_b_y = u3r_met(3, b);;
c3_y *a_bytes, *b_bytes;
c3_y a_y, b_y;
c3_w len_a_w = u3r_met(3, a);
c3_w len_b_w = u3r_met(3, b);;
c3_y *buf_a_y, *buf_b_y;
c3_y cut_a_y, cut_b_y;
if ( c3y == u3a_is_cat(a) ) {
a_bytes = (c3_y*)&a;
buf_a_y = (c3_y*)&a;
}
else {
u3a_atom* a_u = u3a_to_ptr(a);
a_bytes = (c3_y*)(a_u->buf_w);
buf_a_y = (c3_y*)(a_u->buf_w);
}
if ( c3y == u3a_is_cat(b) ) {
b_bytes = (c3_y*)&b;
buf_b_y = (c3_y*)&b;
}
else {
u3a_atom* b_u = u3a_to_ptr(b);
b_bytes = (c3_y*)(b_u->buf_w);
buf_b_y = (c3_y*)(b_u->buf_w);
}
c3_w len_min = c3_min(len_a_y, len_b_y);
for (c3_w i_y = 0; i_y < len_min; i_y++) {
a_y = a_bytes[i_y];
b_y = b_bytes[i_y];
if ( a_y != b_y ) return __(a_y < b_y);
c3_w len_min_w = c3_min(len_a_w, len_b_w);
for (c3_w i_w = 0; i_w < len_min_w; i_w++) {
cut_a_y = buf_a_y[i_w];
cut_b_y = buf_b_y[i_w];
if ( cut_a_y != cut_b_y ) return __(cut_a_y < cut_b_y);
}
return __(len_a_y < len_b_y);
return __(len_a_w < len_b_w);
}
}
}
Expand Down

0 comments on commit d242217

Please sign in to comment.