Added function noun/xtract.c:u3x_hext().

This commit is contained in:
John Franklin 2017-06-22 19:52:02 -05:00 committed by Raymond Pasco
parent 377f7c3328
commit 22c20ab8b2
2 changed files with 31 additions and 0 deletions

View File

@ -117,3 +117,16 @@
u3_noun* d,
u3_noun* e,
u3_noun* f);
/* u3x_hext():
**
** Divide `a` as a hextuple `[b c d e f g]`.
*/
void
u3x_hext(u3_noun a,
u3_noun* b,
u3_noun* c,
u3_noun* d,
u3_noun* e,
u3_noun* f,
u3_noun* g);

View File

@ -88,3 +88,21 @@ u3x_quil(u3_noun a,
}
}
/* u3x_hext():
**
** Divide `a` as a hextuple `[b c d e f g]`.
*/
void
u3x_hext(u3_noun a,
u3_noun* b,
u3_noun* c,
u3_noun* d,
u3_noun* e,
u3_noun* f,
u3_noun* g)
{
if ( c3n == u3r_hext(a, b, c, d, e, f, g) ) {
u3m_bail(c3__exit);
}
}