Debian Codegraph @

experimental/tskit/bindings/extension.d.ts

raw
1 /// <reference path="embind.d.ts" />
2 /* This file is autogenerated using gen_types.go and make generate */
3 declare namespace extension {
4 export interface Bindings {
5 _privateExtension(rPtr: number, len: number): number;
6 _withObject(obj: CompoundObj): void;
7
8
9 readonly Extension: ExtensionConstructor;
10
11 }
12
13 export interface ExtensionConstructor {
14 new(name?: string): Extension;
15 }
16
17 export interface Extension extends embind.EmbindObject<Extension> {
18 setProp(p: string): void;
19
20 getProp(): string;
21 }
22
23 export interface CompoundObj {
24 alpha: number,
25 beta: string,
26 gamma?: number,
27 }
28 }