1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-22 14:21:34 +03:00
urbit/j/f/ut_gain.c

16 lines
310 B
C
Raw Normal View History

2013-09-29 00:21:18 +04:00
/* j/6/gain.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
2014-11-06 22:13:57 +03:00
u3qfu_gain(u3_noun van, u3_noun sut, u3_noun gen)
2013-09-29 00:21:18 +04:00
{
2014-11-06 03:20:01 +03:00
u3_noun von = u3i_molt(u3k(van), u3v_sam, u3k(sut), 0);
u3_noun gat = u3j_hook(von, "gain");
2014-09-02 04:10:04 +04:00
2014-11-06 03:20:01 +03:00
return u3n_kick_on(u3i_molt(gat, u3v_sam, u3k(gen), 0));
2013-09-29 00:21:18 +04:00
}