Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 299b647355
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.312 kB
#include "tr.h"
#include "internal.h"
TrClosure *TrClosure_new(VM, TrBlock *b, OBJ self, OBJ class, TrClosure *parent) {
TrClosure *cl = TR_ALLOC(TrClosure);
cl->block = b;
cl->upvals = TR_ALLOC_N(TrUpval, kv_size(b->upvals));
cl->self = self;
cl->class = class;
cl->parent = parent;
return cl;
}
Jump to Line
Something went wrong with that request. Please try again.