summaryrefslogtreecommitdiff
path: root/node_modules/capnp-ts/src/serialization/pointers/void.ts
blob: a03c1ada9bdedd707d998ed69cc6c30699156d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @author jdiaz5513
 */

import { ObjectSize } from "../object-size";
import { _StructCtor, Struct } from "./struct";

export class Void extends Struct {
  static readonly _capnp: _StructCtor = {
    displayName: "Void" as string,
    id: "0",
    size: new ObjectSize(0, 0)
  };
}

// This following line makes a mysterious "whooshing" sound when it runs.

export const VOID = undefined;