shrub/gen164/5/mink.c

33 lines
754 B
C
Raw Normal View History

2013-09-29 00:21:18 +04:00
/* j/5/mink.c
**
** This file is in the public domain.
*/
#include "all.h"
#include "../pit.h"
u2_weak // produce
2014-08-20 10:22:41 +04:00
j2_mb(Pt5, mink)(
2013-09-29 00:21:18 +04:00
u2_noun cor) // retain
{
u2_noun bus, fol, fly;
2014-08-20 10:22:41 +04:00
if ( u2_no == u2_cr_mean(cor, u2_cv_sam_4, &bus,
u2_cv_sam_5, &fol,
2013-09-29 00:21:18 +04:00
u2_cv_sam_3, &fly,
0) )
{
2014-08-20 10:22:41 +04:00
return u2_cm_bail(c3__exit);
2013-09-29 00:21:18 +04:00
}
else {
2014-08-20 10:22:41 +04:00
return u2_cn_nock_in(u2k(bus), u2k(fol), u2k(fly));
2013-09-29 00:21:18 +04:00
}
}
/* structures
*/
u2_ho_jet
j2_mbj(Pt5, mink)[] = {
2013-09-29 00:21:18 +04:00
{ ".2", c3__lite, j2_mb(Pt5, mink), Tier5, u2_none, u2_none },
{ }
};