mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 23:44:56 +03:00
30 lines
606 B
C
30 lines
606 B
C
/* j/3/mug.c
|
|
**
|
|
** This file is in the public domain.
|
|
*/
|
|
#include "all.h"
|
|
#include "../pit.h"
|
|
|
|
/* functions
|
|
*/
|
|
u2_weak // transfer
|
|
j2_mb(Pt3, mug)(u2_wire wir_r,
|
|
u2_noun cor) // retain
|
|
{
|
|
u2_noun sam;
|
|
|
|
if ( u2_none == (sam = u2_frag(u2_cv_sam, cor)) ) {
|
|
return u2_bl_bail(wir_r, c3__exit);
|
|
} else {
|
|
return u2_mug(sam);
|
|
}
|
|
}
|
|
|
|
/* structures
|
|
*/
|
|
u2_ho_jet
|
|
j2_mbj(Pt3, mug)[] = {
|
|
{ ".2", c3__lite, j2_mb(Pt3, mug), Tier3, u2_none, u2_none },
|
|
{ }
|
|
};
|