aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/ffi.classes.ts
blob: a0708ac854052a78aa645d735363d8c40568367f (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 "../../codegen/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"],
  }),
];