@stryke/capnp 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FKEUGB3T.cjs → chunk-4DIFIPQV.cjs} +813 -813
- package/dist/{chunk-DKKAH6ZG.cjs → chunk-C6LZ6PNU.cjs} +190 -111
- package/dist/chunk-CI4GMXK3.cjs +4758 -0
- package/dist/{chunk-U3UL3P5H.js → chunk-I2A4KWAA.js} +160 -81
- package/dist/{chunk-5IWYHMY5.js → chunk-MXOTCQAB.js} +1 -1
- package/dist/chunk-SAH52C4V.js +4758 -0
- package/dist/compile.cjs +3 -3
- package/dist/compile.d.cts +1 -0
- package/dist/compile.d.ts +1 -0
- package/dist/compile.js +2 -2
- package/dist/index.cjs +122 -3
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +122 -3
- package/dist/rpc.cjs +19 -4550
- package/dist/rpc.js +7 -4538
- package/package.json +1 -1
|
@@ -66,6 +66,7 @@ var RPC_CALL_QUEUE_FULL = "CAPNP-TS101 Promised answer call queue full.";
|
|
|
66
66
|
var RPC_QUEUE_CALL_CANCEL = "CAPNP-TS102 Queue call canceled.";
|
|
67
67
|
var RPC_ZERO_REF = "CAPNP-TS105 Ref() called on zeroed refcount.";
|
|
68
68
|
var RPC_IMPORT_CLOSED = "CAPNP-TS106 Call on closed import.";
|
|
69
|
+
var RPC_METHOD_NOT_IMPLEMENTED = "CAPNP-TS107 Method not implemented.";
|
|
69
70
|
var RPC_BAD_TARGET = "CAPNP-TS109 Target not found.";
|
|
70
71
|
var RPC_RETURN_FOR_UNKNOWN_QUESTION = "CAPNP-TS111 Received return for unknown question (id=%s).";
|
|
71
72
|
var RPC_QUESTION_ID_REUSED = "CAPNP-TS112 Attempted to re-use question id (%s).";
|
|
@@ -702,6 +703,24 @@ function isNull(p) {
|
|
|
702
703
|
return p.segment.isWordZero(p.byteOffset);
|
|
703
704
|
}
|
|
704
705
|
__name(isNull, "isNull");
|
|
706
|
+
function relocateTo(dst, src) {
|
|
707
|
+
const t = followFars(src);
|
|
708
|
+
const lo = t.segment.getUint8(t.byteOffset) & 3;
|
|
709
|
+
const hi = t.segment.getUint32(t.byteOffset + 4);
|
|
710
|
+
erase(dst);
|
|
711
|
+
const res = initPointer(
|
|
712
|
+
t.segment,
|
|
713
|
+
t.byteOffset + 8 + getOffsetWords(t) * 8,
|
|
714
|
+
dst
|
|
715
|
+
);
|
|
716
|
+
res.pointer.segment.setUint32(
|
|
717
|
+
res.pointer.byteOffset,
|
|
718
|
+
lo | res.offsetWords << 2
|
|
719
|
+
);
|
|
720
|
+
res.pointer.segment.setUint32(res.pointer.byteOffset + 4, hi);
|
|
721
|
+
erasePointer(src);
|
|
722
|
+
}
|
|
723
|
+
__name(relocateTo, "relocateTo");
|
|
705
724
|
function setFarPointer(doubleFar, offsetWords, segmentId, p) {
|
|
706
725
|
const A = PointerType.FAR;
|
|
707
726
|
const B = doubleFar ? 1 : 0;
|
|
@@ -1550,6 +1569,10 @@ function checkPointerBounds(index, s) {
|
|
|
1550
1569
|
}
|
|
1551
1570
|
}
|
|
1552
1571
|
__name(checkPointerBounds, "checkPointerBounds");
|
|
1572
|
+
function getInterfaceClientOrNullAt(index, s) {
|
|
1573
|
+
return getInterfaceClientOrNull(getPointer(index, s));
|
|
1574
|
+
}
|
|
1575
|
+
__name(getInterfaceClientOrNullAt, "getInterfaceClientOrNullAt");
|
|
1553
1576
|
function getInterfaceClientOrNull(p) {
|
|
1554
1577
|
let client = null;
|
|
1555
1578
|
const capId = getInterfacePointer(p);
|
|
@@ -2065,6 +2088,86 @@ function checkDataBounds(byteOffset, byteLength, s) {
|
|
|
2065
2088
|
}
|
|
2066
2089
|
__name(checkDataBounds, "checkDataBounds");
|
|
2067
2090
|
|
|
2091
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=53996ae63a1465953815fff49405f2224c85d26eeeff469d2b1f87e1c2af451d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
|
|
2092
|
+
function CompositeList(CompositeClass) {
|
|
2093
|
+
return (_class5 = class extends List {
|
|
2094
|
+
static __initStatic5() {this._capnp = {
|
|
2095
|
+
compositeSize: CompositeClass._capnp.size,
|
|
2096
|
+
displayName: `List<${CompositeClass._capnp.displayName}>`,
|
|
2097
|
+
size: ListElementSize.COMPOSITE
|
|
2098
|
+
}}
|
|
2099
|
+
get(index) {
|
|
2100
|
+
return new CompositeClass(
|
|
2101
|
+
this.segment,
|
|
2102
|
+
this.byteOffset,
|
|
2103
|
+
this._capnp.depthLimit - 1,
|
|
2104
|
+
index
|
|
2105
|
+
);
|
|
2106
|
+
}
|
|
2107
|
+
set(index, value) {
|
|
2108
|
+
copyFrom(value, this.get(index));
|
|
2109
|
+
}
|
|
2110
|
+
[Symbol.toStringTag]() {
|
|
2111
|
+
return `Composite_${super.toString()},cls:${CompositeClass.toString()}`;
|
|
2112
|
+
}
|
|
2113
|
+
}, _class5.__initStatic5(), _class5);
|
|
2114
|
+
}
|
|
2115
|
+
__name(CompositeList, "CompositeList");
|
|
2116
|
+
function _makePrimitiveMaskFn(byteLength, setter) {
|
|
2117
|
+
return (x) => {
|
|
2118
|
+
const dv = new DataView(new ArrayBuffer(byteLength));
|
|
2119
|
+
setter.call(dv, 0, x, true);
|
|
2120
|
+
return dv;
|
|
2121
|
+
};
|
|
2122
|
+
}
|
|
2123
|
+
__name(_makePrimitiveMaskFn, "_makePrimitiveMaskFn");
|
|
2124
|
+
var getFloat32Mask = _makePrimitiveMaskFn(
|
|
2125
|
+
4,
|
|
2126
|
+
DataView.prototype.setFloat32
|
|
2127
|
+
);
|
|
2128
|
+
var getFloat64Mask = _makePrimitiveMaskFn(
|
|
2129
|
+
8,
|
|
2130
|
+
DataView.prototype.setFloat64
|
|
2131
|
+
);
|
|
2132
|
+
var getInt16Mask = _makePrimitiveMaskFn(
|
|
2133
|
+
2,
|
|
2134
|
+
DataView.prototype.setInt16
|
|
2135
|
+
);
|
|
2136
|
+
var getInt32Mask = _makePrimitiveMaskFn(
|
|
2137
|
+
4,
|
|
2138
|
+
DataView.prototype.setInt32
|
|
2139
|
+
);
|
|
2140
|
+
var getInt64Mask = _makePrimitiveMaskFn(
|
|
2141
|
+
8,
|
|
2142
|
+
DataView.prototype.setBigInt64
|
|
2143
|
+
);
|
|
2144
|
+
var getInt8Mask = _makePrimitiveMaskFn(1, DataView.prototype.setInt8);
|
|
2145
|
+
var getUint16Mask = _makePrimitiveMaskFn(
|
|
2146
|
+
2,
|
|
2147
|
+
DataView.prototype.setUint16
|
|
2148
|
+
);
|
|
2149
|
+
var getUint32Mask = _makePrimitiveMaskFn(
|
|
2150
|
+
4,
|
|
2151
|
+
DataView.prototype.setUint32
|
|
2152
|
+
);
|
|
2153
|
+
var getUint64Mask = _makePrimitiveMaskFn(
|
|
2154
|
+
8,
|
|
2155
|
+
DataView.prototype.setBigUint64
|
|
2156
|
+
);
|
|
2157
|
+
var getUint8Mask = _makePrimitiveMaskFn(
|
|
2158
|
+
1,
|
|
2159
|
+
DataView.prototype.setUint8
|
|
2160
|
+
);
|
|
2161
|
+
function getBitMask(value, bitOffset) {
|
|
2162
|
+
const dv = new DataView(new ArrayBuffer(1));
|
|
2163
|
+
if (!value) {
|
|
2164
|
+
return dv;
|
|
2165
|
+
}
|
|
2166
|
+
dv.setUint8(0, 1 << bitOffset % 8);
|
|
2167
|
+
return dv;
|
|
2168
|
+
}
|
|
2169
|
+
__name(getBitMask, "getBitMask");
|
|
2170
|
+
|
|
2068
2171
|
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=53996ae63a1465953815fff49405f2224c85d26eeeff469d2b1f87e1c2af451d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
|
|
2069
2172
|
var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
|
|
2070
2173
|
ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
|
|
@@ -2088,11 +2191,11 @@ var ArenaAllocationResult = class {
|
|
|
2088
2191
|
this.buffer = buffer;
|
|
2089
2192
|
}
|
|
2090
2193
|
};
|
|
2091
|
-
var MultiSegmentArena = (
|
|
2194
|
+
var MultiSegmentArena = (_class6 = class {
|
|
2092
2195
|
static {
|
|
2093
2196
|
__name(this, "MultiSegmentArena");
|
|
2094
2197
|
}
|
|
2095
|
-
constructor(buffers = [new ArrayBuffer(DEFAULT_BUFFER_SIZE)]) {;
|
|
2198
|
+
constructor(buffers = [new ArrayBuffer(DEFAULT_BUFFER_SIZE)]) {;_class6.prototype.__init.call(this);
|
|
2096
2199
|
this.buffers = buffers;
|
|
2097
2200
|
let i = buffers.length;
|
|
2098
2201
|
while (--i >= 0) {
|
|
@@ -2101,14 +2204,14 @@ var MultiSegmentArena = (_class5 = class {
|
|
|
2101
2204
|
}
|
|
2102
2205
|
}
|
|
2103
2206
|
}
|
|
2104
|
-
static
|
|
2105
|
-
static
|
|
2106
|
-
static
|
|
2207
|
+
static __initStatic6() {this.allocate = allocate$2}
|
|
2208
|
+
static __initStatic7() {this.getBuffer = getBuffer$2}
|
|
2209
|
+
static __initStatic8() {this.getNumSegments = getNumSegments$2}
|
|
2107
2210
|
__init() {this.kind = ArenaKind.MULTI_SEGMENT}
|
|
2108
2211
|
toString() {
|
|
2109
2212
|
return format("MultiSegmentArena_segments:%d", getNumSegments$2(this));
|
|
2110
2213
|
}
|
|
2111
|
-
},
|
|
2214
|
+
}, _class6.__initStatic6(), _class6.__initStatic7(), _class6.__initStatic8(), _class6);
|
|
2112
2215
|
function allocate$2(minSize, m) {
|
|
2113
2216
|
const b = new ArrayBuffer(padToWord$1(Math.max(minSize, DEFAULT_BUFFER_SIZE)));
|
|
2114
2217
|
m.buffers.push(b);
|
|
@@ -2126,16 +2229,16 @@ function getNumSegments$2(m) {
|
|
|
2126
2229
|
return m.buffers.length;
|
|
2127
2230
|
}
|
|
2128
2231
|
__name(getNumSegments$2, "getNumSegments$2");
|
|
2129
|
-
var SingleSegmentArena = (
|
|
2232
|
+
var SingleSegmentArena = (_class7 = class {
|
|
2130
2233
|
static {
|
|
2131
2234
|
__name(this, "SingleSegmentArena");
|
|
2132
2235
|
}
|
|
2133
|
-
static
|
|
2134
|
-
static
|
|
2135
|
-
static
|
|
2236
|
+
static __initStatic9() {this.allocate = allocate$1}
|
|
2237
|
+
static __initStatic10() {this.getBuffer = getBuffer$1}
|
|
2238
|
+
static __initStatic11() {this.getNumSegments = getNumSegments$1}
|
|
2136
2239
|
|
|
2137
2240
|
__init2() {this.kind = ArenaKind.SINGLE_SEGMENT}
|
|
2138
|
-
constructor(buffer = new ArrayBuffer(DEFAULT_BUFFER_SIZE)) {;
|
|
2241
|
+
constructor(buffer = new ArrayBuffer(DEFAULT_BUFFER_SIZE)) {;_class7.prototype.__init2.call(this);
|
|
2139
2242
|
if ((buffer.byteLength & 7) !== 0) {
|
|
2140
2243
|
throw new Error(format(SEG_NOT_WORD_ALIGNED, buffer.byteLength));
|
|
2141
2244
|
}
|
|
@@ -2144,7 +2247,7 @@ var SingleSegmentArena = (_class6 = class {
|
|
|
2144
2247
|
toString() {
|
|
2145
2248
|
return format("SingleSegmentArena_len:%x", this.buffer.byteLength);
|
|
2146
2249
|
}
|
|
2147
|
-
},
|
|
2250
|
+
}, _class7.__initStatic9(), _class7.__initStatic10(), _class7.__initStatic11(), _class7);
|
|
2148
2251
|
function allocate$1(minSize, segments, s) {
|
|
2149
2252
|
const srcBuffer = segments.length > 0 ? segments[0].buffer : s.buffer;
|
|
2150
2253
|
minSize = minSize < MIN_SINGLE_SEGMENT_GROWTH ? MIN_SINGLE_SEGMENT_GROWTH : padToWord$1(minSize);
|
|
@@ -2162,15 +2265,15 @@ function getNumSegments$1() {
|
|
|
2162
2265
|
return 1;
|
|
2163
2266
|
}
|
|
2164
2267
|
__name(getNumSegments$1, "getNumSegments$1");
|
|
2165
|
-
var Arena = (
|
|
2268
|
+
var Arena = (_class8 = class {
|
|
2166
2269
|
static {
|
|
2167
2270
|
__name(this, "Arena");
|
|
2168
2271
|
}
|
|
2169
|
-
static
|
|
2170
|
-
static
|
|
2171
|
-
static
|
|
2172
|
-
static
|
|
2173
|
-
},
|
|
2272
|
+
static __initStatic12() {this.allocate = allocate}
|
|
2273
|
+
static __initStatic13() {this.copy = copy$1}
|
|
2274
|
+
static __initStatic14() {this.getBuffer = getBuffer}
|
|
2275
|
+
static __initStatic15() {this.getNumSegments = getNumSegments}
|
|
2276
|
+
}, _class8.__initStatic12(), _class8.__initStatic13(), _class8.__initStatic14(), _class8.__initStatic15(), _class8);
|
|
2174
2277
|
function allocate(minSize, segments, a) {
|
|
2175
2278
|
switch (a.kind) {
|
|
2176
2279
|
case ArenaKind.MULTI_SEGMENT: {
|
|
@@ -2376,11 +2479,11 @@ function unpack(packed) {
|
|
|
2376
2479
|
return dst.buffer;
|
|
2377
2480
|
}
|
|
2378
2481
|
__name(unpack, "unpack");
|
|
2379
|
-
var Segment = (
|
|
2482
|
+
var Segment = (_class9 = class {
|
|
2380
2483
|
static {
|
|
2381
2484
|
__name(this, "Segment");
|
|
2382
2485
|
}
|
|
2383
|
-
constructor(id, message, buffer, byteLength = 0) {;
|
|
2486
|
+
constructor(id, message, buffer, byteLength = 0) {;_class9.prototype.__init3.call(this);
|
|
2384
2487
|
this.id = id;
|
|
2385
2488
|
this.message = message;
|
|
2386
2489
|
this.message = message;
|
|
@@ -2712,19 +2815,19 @@ var Segment = (_class8 = class {
|
|
|
2712
2815
|
this.buffer.byteLength
|
|
2713
2816
|
);
|
|
2714
2817
|
}
|
|
2715
|
-
},
|
|
2716
|
-
var Message = (
|
|
2818
|
+
}, _class9);
|
|
2819
|
+
var Message = (_class10 = class {
|
|
2717
2820
|
static {
|
|
2718
2821
|
__name(this, "Message");
|
|
2719
2822
|
}
|
|
2720
|
-
static
|
|
2721
|
-
static
|
|
2722
|
-
static
|
|
2723
|
-
static
|
|
2724
|
-
static
|
|
2725
|
-
static
|
|
2726
|
-
static
|
|
2727
|
-
static
|
|
2823
|
+
static __initStatic16() {this.allocateSegment = allocateSegment}
|
|
2824
|
+
static __initStatic17() {this.dump = exports.dump = dump2}
|
|
2825
|
+
static __initStatic18() {this.getRoot = getRoot}
|
|
2826
|
+
static __initStatic19() {this.getSegment = getSegment}
|
|
2827
|
+
static __initStatic20() {this.initRoot = initRoot}
|
|
2828
|
+
static __initStatic21() {this.readRawPointer = exports.readRawPointer = readRawPointer}
|
|
2829
|
+
static __initStatic22() {this.toArrayBuffer = toArrayBuffer}
|
|
2830
|
+
static __initStatic23() {this.toPackedArrayBuffer = toPackedArrayBuffer}
|
|
2728
2831
|
|
|
2729
2832
|
/**
|
|
2730
2833
|
* A Cap'n Proto message.
|
|
@@ -2848,7 +2951,7 @@ var Message = (_class9 = class {
|
|
|
2848
2951
|
toString() {
|
|
2849
2952
|
return `Message_arena:${this._capnp.arena}`;
|
|
2850
2953
|
}
|
|
2851
|
-
},
|
|
2954
|
+
}, _class10.__initStatic16(), _class10.__initStatic17(), _class10.__initStatic18(), _class10.__initStatic19(), _class10.__initStatic20(), _class10.__initStatic21(), _class10.__initStatic22(), _class10.__initStatic23(), _class10);
|
|
2852
2955
|
function initMessage(src, packed = true, singleSegment = false) {
|
|
2853
2956
|
if (src === void 0) {
|
|
2854
2957
|
return {
|
|
@@ -3062,85 +3165,6 @@ function copy(m) {
|
|
|
3062
3165
|
}
|
|
3063
3166
|
__name(copy, "copy");
|
|
3064
3167
|
|
|
3065
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=53996ae63a1465953815fff49405f2224c85d26eeeff469d2b1f87e1c2af451d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
|
|
3066
|
-
function CompositeList(CompositeClass) {
|
|
3067
|
-
return (_class10 = class extends List {
|
|
3068
|
-
static __initStatic23() {this._capnp = {
|
|
3069
|
-
compositeSize: CompositeClass._capnp.size,
|
|
3070
|
-
displayName: `List<${CompositeClass._capnp.displayName}>`,
|
|
3071
|
-
size: ListElementSize.COMPOSITE
|
|
3072
|
-
}}
|
|
3073
|
-
get(index) {
|
|
3074
|
-
return new CompositeClass(
|
|
3075
|
-
this.segment,
|
|
3076
|
-
this.byteOffset,
|
|
3077
|
-
this._capnp.depthLimit - 1,
|
|
3078
|
-
index
|
|
3079
|
-
);
|
|
3080
|
-
}
|
|
3081
|
-
set(index, value) {
|
|
3082
|
-
copyFrom(value, this.get(index));
|
|
3083
|
-
}
|
|
3084
|
-
[Symbol.toStringTag]() {
|
|
3085
|
-
return `Composite_${super.toString()},cls:${CompositeClass.toString()}`;
|
|
3086
|
-
}
|
|
3087
|
-
}, _class10.__initStatic23(), _class10);
|
|
3088
|
-
}
|
|
3089
|
-
__name(CompositeList, "CompositeList");
|
|
3090
|
-
function _makePrimitiveMaskFn(byteLength, setter) {
|
|
3091
|
-
return (x) => {
|
|
3092
|
-
const dv = new DataView(new ArrayBuffer(byteLength));
|
|
3093
|
-
setter.call(dv, 0, x, true);
|
|
3094
|
-
return dv;
|
|
3095
|
-
};
|
|
3096
|
-
}
|
|
3097
|
-
__name(_makePrimitiveMaskFn, "_makePrimitiveMaskFn");
|
|
3098
|
-
var getFloat32Mask = _makePrimitiveMaskFn(
|
|
3099
|
-
4,
|
|
3100
|
-
DataView.prototype.setFloat32
|
|
3101
|
-
);
|
|
3102
|
-
var getFloat64Mask = _makePrimitiveMaskFn(
|
|
3103
|
-
8,
|
|
3104
|
-
DataView.prototype.setFloat64
|
|
3105
|
-
);
|
|
3106
|
-
var getInt16Mask = _makePrimitiveMaskFn(
|
|
3107
|
-
2,
|
|
3108
|
-
DataView.prototype.setInt16
|
|
3109
|
-
);
|
|
3110
|
-
var getInt32Mask = _makePrimitiveMaskFn(
|
|
3111
|
-
4,
|
|
3112
|
-
DataView.prototype.setInt32
|
|
3113
|
-
);
|
|
3114
|
-
var getInt64Mask = _makePrimitiveMaskFn(
|
|
3115
|
-
8,
|
|
3116
|
-
DataView.prototype.setBigInt64
|
|
3117
|
-
);
|
|
3118
|
-
var getInt8Mask = _makePrimitiveMaskFn(1, DataView.prototype.setInt8);
|
|
3119
|
-
var getUint16Mask = _makePrimitiveMaskFn(
|
|
3120
|
-
2,
|
|
3121
|
-
DataView.prototype.setUint16
|
|
3122
|
-
);
|
|
3123
|
-
var getUint32Mask = _makePrimitiveMaskFn(
|
|
3124
|
-
4,
|
|
3125
|
-
DataView.prototype.setUint32
|
|
3126
|
-
);
|
|
3127
|
-
var getUint64Mask = _makePrimitiveMaskFn(
|
|
3128
|
-
8,
|
|
3129
|
-
DataView.prototype.setBigUint64
|
|
3130
|
-
);
|
|
3131
|
-
var getUint8Mask = _makePrimitiveMaskFn(
|
|
3132
|
-
1,
|
|
3133
|
-
DataView.prototype.setUint8
|
|
3134
|
-
);
|
|
3135
|
-
function getBitMask(value, bitOffset) {
|
|
3136
|
-
const dv = new DataView(new ArrayBuffer(1));
|
|
3137
|
-
if (!value) {
|
|
3138
|
-
return dv;
|
|
3139
|
-
}
|
|
3140
|
-
dv.setUint8(0, 1 << bitOffset % 8);
|
|
3141
|
-
return dv;
|
|
3142
|
-
}
|
|
3143
|
-
__name(getBitMask, "getBitMask");
|
|
3144
3168
|
|
|
3145
3169
|
|
|
3146
3170
|
|
|
@@ -3223,4 +3247,59 @@ __name(getBitMask, "getBitMask");
|
|
|
3223
3247
|
|
|
3224
3248
|
|
|
3225
3249
|
|
|
3226
|
-
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
exports.__name = __name; exports.ListElementSize = ListElementSize; exports.MAX_DEPTH = MAX_DEPTH; exports.INVARIANT_UNREACHABLE_CODE = INVARIANT_UNREACHABLE_CODE; exports.NOT_IMPLEMENTED = NOT_IMPLEMENTED; exports.RPC_NULL_CLIENT = RPC_NULL_CLIENT; exports.RPC_CALL_QUEUE_FULL = RPC_CALL_QUEUE_FULL; exports.RPC_QUEUE_CALL_CANCEL = RPC_QUEUE_CALL_CANCEL; exports.RPC_ZERO_REF = RPC_ZERO_REF; exports.RPC_IMPORT_CLOSED = RPC_IMPORT_CLOSED; exports.RPC_METHOD_NOT_IMPLEMENTED = RPC_METHOD_NOT_IMPLEMENTED; exports.RPC_BAD_TARGET = RPC_BAD_TARGET; exports.RPC_RETURN_FOR_UNKNOWN_QUESTION = RPC_RETURN_FOR_UNKNOWN_QUESTION; exports.RPC_QUESTION_ID_REUSED = RPC_QUESTION_ID_REUSED; exports.RPC_UNKNOWN_EXPORT_ID = RPC_UNKNOWN_EXPORT_ID; exports.RPC_UNKNOWN_ANSWER_ID = RPC_UNKNOWN_ANSWER_ID; exports.RPC_UNKNOWN_CAP_DESCRIPTOR = RPC_UNKNOWN_CAP_DESCRIPTOR; exports.RPC_METHOD_ERROR = RPC_METHOD_ERROR; exports.RPC_ERROR = RPC_ERROR; exports.RPC_NO_MAIN_INTERFACE = RPC_NO_MAIN_INTERFACE; exports.RPC_FINISH_UNKNOWN_ANSWER = RPC_FINISH_UNKNOWN_ANSWER; exports.RPC_FULFILL_ALREADY_CALLED = RPC_FULFILL_ALREADY_CALLED; exports.format = format; exports.pad = pad; exports.ObjectSize = ObjectSize; exports.Orphan = Orphan; exports.adopt = adopt; exports.disown = disown; exports.dump = dump; exports.getListByteLength = getListByteLength; exports.getListElementByteLength = getListElementByteLength; exports.add = add; exports.copyFrom = copyFrom; exports.erase = erase; exports.erasePointer = erasePointer; exports.followFar = followFar; exports.followFars = followFars; exports.getCapabilityId = getCapabilityId; exports.getContent = getContent; exports.getFarSegmentId = getFarSegmentId; exports.getListElementSize = getListElementSize; exports.getListLength = getListLength; exports.getOffsetWords = getOffsetWords; exports.getPointerType = getPointerType; exports.getStructDataWords = getStructDataWords; exports.getStructPointerLength = getStructPointerLength; exports.getStructSize = getStructSize; exports.getTargetCompositeListTag = getTargetCompositeListTag; exports.getTargetCompositeListSize = getTargetCompositeListSize; exports.getTargetListElementSize = getTargetListElementSize; exports.getTargetListLength = getTargetListLength; exports.getTargetPointerType = getTargetPointerType; exports.getTargetStructSize = getTargetStructSize; exports.initPointer = initPointer; exports.isDoubleFar = isDoubleFar; exports.isNull = isNull; exports.relocateTo = relocateTo; exports.setFarPointer = setFarPointer; exports.setInterfacePointer = setInterfacePointer; exports.getInterfacePointer = getInterfacePointer; exports.setListPointer = setListPointer; exports.setStructPointer = setStructPointer; exports.validate = validate; exports.copyFromInterface = copyFromInterface; exports.copyFromList = copyFromList; exports.copyFromStruct = copyFromStruct; exports.trackPointerAllocation = trackPointerAllocation; exports.PointerAllocationResult = PointerAllocationResult; exports.PointerType = PointerType; exports.Pointer = Pointer; exports.List = List; exports.Data = Data; exports.Text = Text; exports.Struct = Struct; exports.AnyStruct = AnyStruct; exports.FixedAnswer = FixedAnswer; exports.ErrorAnswer = ErrorAnswer; exports.ErrorClient = ErrorClient; exports.clientOrNull = clientOrNull; exports.initStruct = initStruct; exports.initStructAt = initStructAt; exports.checkPointerBounds = checkPointerBounds; exports.getInterfaceClientOrNullAt = getInterfaceClientOrNullAt; exports.getInterfaceClientOrNull = getInterfaceClientOrNull; exports.resize = resize; exports.getAs = getAs; exports.getBit = getBit; exports.getData = getData; exports.getDataSection = getDataSection; exports.getFloat32 = getFloat32; exports.getFloat64 = getFloat64; exports.getInt16 = getInt16; exports.getInt32 = getInt32; exports.getInt64 = getInt64; exports.getInt8 = getInt8; exports.getList = getList; exports.getPointer = getPointer; exports.getPointerAs = getPointerAs; exports.getPointerSection = getPointerSection; exports.getSize = getSize; exports.getStruct = getStruct; exports.getText = getText; exports.getUint16 = getUint16; exports.getUint32 = getUint32; exports.getUint64 = getUint64; exports.getUint8 = getUint8; exports.initData = initData; exports.initList = initList; exports.setBit = setBit; exports.setFloat32 = setFloat32; exports.setFloat64 = setFloat64; exports.setInt16 = setInt16; exports.setInt32 = setInt32; exports.setInt64 = setInt64; exports.setInt8 = setInt8; exports.setText = setText; exports.setUint16 = setUint16; exports.setUint32 = setUint32; exports.setUint64 = setUint64; exports.setUint8 = setUint8; exports.testWhich = testWhich; exports.checkDataBounds = checkDataBounds; exports.CompositeList = CompositeList; exports.getFloat32Mask = getFloat32Mask; exports.getFloat64Mask = getFloat64Mask; exports.getInt16Mask = getInt16Mask; exports.getInt32Mask = getInt32Mask; exports.getInt64Mask = getInt64Mask; exports.getInt8Mask = getInt8Mask; exports.getUint16Mask = getUint16Mask; exports.getUint32Mask = getUint32Mask; exports.getUint64Mask = getUint64Mask; exports.getUint8Mask = getUint8Mask; exports.getBitMask = getBitMask; exports.Message = Message; exports.readRawPointer = readRawPointer;
|