6
6
var TBUFFER_SIZE = 10*1024*1024;
7
7
var tbuffer = _malloc(TBUFFER_SIZE);
10
13
RelooperGlue['init'] = function() {
11
14
this.r = _rl_new_relooper();
15
18
assert(text.length+1 < TBUFFER_SIZE);
16
19
writeStringToMemory(text, tbuffer);
18
25
_rl_relooper_add_block(this.r, b);