urbit/gen164/3/mug.c

22 lines
332 B
C
Raw Normal View History

2013-09-29 00:21:18 +04:00
/* j/3/mug.c
**
** This file is in the public domain.
*/
#include "all.h"
#include "../pit.h"
/* functions
*/
2014-09-04 01:33:18 +04:00
u2_noun
u2_cwc_mug(
u2_noun cor)
2013-09-29 00:21:18 +04:00
{
u2_noun sam;
2014-08-20 05:39:48 +04:00
if ( u2_none == (sam = u2_cr_at(u2_cv_sam, cor)) ) {
return u2_cm_bail(c3__exit);
2013-09-29 00:21:18 +04:00
} else {
2014-08-20 05:39:48 +04:00
return u2_cr_mug(sam);
2013-09-29 00:21:18 +04:00
}
}