mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 19:22:22 +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"
|
|
|
|
|
|
u2_noun
|
|
u2_cqfu_gain(u2_noun van,
|
|
u2_noun sut,
|
|
u2_noun gen)
|
|
{
|
|
u2_noun von = u2_ci_molt(u2k(van), u2_cv_sam, u2k(sut), 0);
|
|
u2_noun gat = u2_cj_hook(u2k(von), "gain");
|
|
|
|
return u2_cn_kick_on(u2_ci_molt(gat, u2_cv_sam, u2k(gen), 0));
|
|
}
|