• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/// <reference path="embind.d.ts" />
2/* This file is autogenerated using gen_types.go and make generate */
3declare namespace namespace_one {
4	export interface Bindings {
5		_privateFunction1(ptr: number): number;
6		_privateFunction2(x: number, y: number): number;
7
8		publicFunction1(): boolean;
9		publicFunction2(input: string): void;
10
11		readonly AnotherClass: AnotherClassConstructor;
12		readonly Something: SomethingConstructor;
13
14		readonly SOME_FLAG: number;
15		readonly hasBird: boolean;
16		readonly optionalConst?: string;
17	}
18
19	export interface AnotherClassConstructor {
20		new(): AnotherClass;
21		new(name: string, thing: Something): AnotherClass;
22	}
23
24	export interface SomethingConstructor {
25		new(name: string): Something;
26	}
27
28	export interface AnotherClass extends embind.EmbindObject<AnotherClass> {
29		get(): Something;
30	}
31
32	export interface Something extends embind.EmbindObject<Something> {
33		_setName(name: string): void;
34
35		getName(): string;
36	}
37
38	export interface SomeValueObject {
39		columns?: number,
40		isInteger: boolean,
41		name: string,
42		object: AnotherClass,
43	}
44}
45