shrub/j/6/face.c
2014-09-05 12:55:16 -07:00

33 lines
566 B
C

/* j/6/face.c
**
** This file is in the public domain.
*/
#include "all.h"
/* functions
*/
u2_noun
u2_cqf_face(
u2_noun cog,
u2_noun tip)
{
if ( c3__void == tip ) {
return c3__void;
}
else return u2nt
(c3__face, u2k(cog), u2k(tip));
}
u2_noun
u2_cwf_face(
u2_noun cor)
{
u2_noun cog, tip;
if ( u2_no == u2_cr_mean(cor, u2_cv_sam_2, &cog, u2_cv_sam_3, &tip, 0) ) {
return u2_cm_bail(c3__fail);
} else {
return u2_cqf_face(cog, tip);
}
}