aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/ffi.classes.ts
blob: 0a146b22e6bf59db46aa3c1251430159fd67ffca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { define } from "../scripts/class-definitions";

export default [
  define({
    name: "FFI",
    construct: true,
    noConstructor: true,
    finalize: true,
    klass: {},
    proto: {
      close: {
        fn: "close",
        length: 0,
      },

      symbols: {
        cache: "symbolsValue",
        getter: "getSymbols",
      },
    },
    values: ["symbolsValue"],
  }),
];