• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/// <reference path="embind.d.ts" />
2declare namespace core {
3  export interface Bindings {
4    _privateFunction(x: number, y: number): number;
5
6    publicFunction(input: string): void;
7
8    readonly Something: SomethingConstructor;
9  }
10
11  export interface SomethingConstructor {
12    new(name: string): Something;
13  }
14
15  export interface Something extends embind.EmbindObject<Something> {
16    getName(): string;
17
18    _setName(name: string): void;
19  }
20}
21