urbit/j/6/ut_lose.c

18 lines
372 B
C
Raw Normal View History

2013-09-29 00:21:18 +04:00
/* j/6/lose.c
**
** This file is in the public domain.
*/
#include "all.h"
2014-09-04 07:10:43 +04:00
2013-09-29 00:21:18 +04:00
2014-09-06 00:13:24 +04:00
u3_noun
u3_cqfu_lose(u3_noun van,
u3_noun sut,
u3_noun gen)
2013-09-29 00:21:18 +04:00
{
2014-09-06 00:13:24 +04:00
u3_noun von = u3_ci_molt(u3k(van), u3_cv_sam, u3k(sut), 0);
2014-10-11 09:32:58 +04:00
u3_noun gat = u3_cj_hook(von, "lose");
2013-09-29 00:21:18 +04:00
2014-09-06 00:13:24 +04:00
return u3_cn_kick_on(u3_ci_molt(gat, u3_cv_sam, u3k(gen), 0));
2013-09-29 00:21:18 +04:00
}