1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
//#OPTIONS: CPP
#ifdef GHCJS_TRACE_COMPACT
function h$logCompact() { h$log.apply(h$log,arguments); }
#define TRACE_COMPACT(args...) h$logCompact(args)
#else
#define TRACE_COMPACT(args...)
#endif
function h$compactNew(size) {
TRACE_COMPACT("compactNew" + size)
throw new Error("not implemented");
}
function h$compactResize(compact, size) {
TRACE_COMPACT("compactResize" + size)
}
function h$compactContains(compact, obj) {
TRACE_COMPACT("compactContains")
return 0;
}
function h$compactContainsAny(obj) {
TRACE_COMPACT("compactContainsAny")
return 0;
}
function h$compactGetFirstBlock(compact) {
TRACE_COMPACT("compactGetFirstBlock")
RETURN_UBX_TUP2(null, 0);
}
function h$compactGetNextBlock(compact, blocka, blokco) {
TRACE_COMPACT("compactGetNextBlock")
RETURN_UBX_TUP2(null, 0);
}
function h$compactAllocateBlock(size, suggesta, suggesto) {
TRACE_COMPACT("compactAllocateBlock" + size)
throw new Error("not implemented");
// returns new root address
RETURN_UBX_TUP2(null, 0);
}
function h$compactFixupPointers(blocka, blocko, roota, rooto) {
TRACE_COMPACT("compactFixupPointers")
throw new Error("not implemented");
// returns new root address and new Compact#
RETURN_UBX_TUP3(null, null, 0);
}
function h$compactAdd(compact, obj) {
TRACE_COMPACT("compactAdd")
throw new Error("not implemented");
}
function h$compactAddWithSharing(compact, obj) {
TRACE_COMPACT("compactAddWithSharing")
throw new Error("not implemented");
}
function h$compactCompactSize(compact) {
TRACE_COMPACT("compactSize")
return 0;
}
|