blob: af534c88197ccce58d651d2c5c24ac6bc00eb81e [file] [log] [blame]
/// <reference path="embind.d.ts" />
declare namespace core {
export interface Bindings {
_privateFunction(x: number, y: number): number;
publicFunction(input: string): void;
readonly Something: SomethingConstructor;
}
export interface SomethingConstructor {
new(name: string): Something;
}
export interface Something extends embind.EmbindObject<Something> {
getName(): string;
_setName(name: string): void;
}
}