mirror of
https://github.com/urbit/shrub.git
synced 2024-12-17 23:32:56 +03:00
18 lines
377 B
C
18 lines
377 B
C
/* j/6/gain.c
|
|
**
|
|
** This file is in the public domain.
|
|
*/
|
|
#include "all.h"
|
|
|
|
|
|
u3_noun
|
|
u3_cqfu_gain(u3_noun van,
|
|
u3_noun sut,
|
|
u3_noun gen)
|
|
{
|
|
u3_noun von = u3_ci_molt(u3k(van), u3_cv_sam, u3k(sut), 0);
|
|
u3_noun gat = u3_cj_hook(u3k(von), "gain");
|
|
|
|
return u3_cn_kick_on(u3_ci_molt(gat, u3_cv_sam, u3k(gen), 0));
|
|
}
|