Fixed crash handler exports

This commit is contained in:
WolverinDEV 2019-07-03 15:19:42 +02:00
parent 755c008def
commit 47213530ff
2 changed files with 13 additions and 0 deletions

View File

@ -1,2 +1,3 @@
.idea/ .idea/
cmake-build-* cmake-build-*
!exports/*.d.ts

View File

@ -0,0 +1,12 @@
declare module "teaclient_crash_handler" {
export function setup_crash_handler(
component_name: string,
crash_dump_folder: string,
success_command_line: string, /* %crash_path% for crash dump path */
error_command_line: string /* %error_message% for the error message */
);
export function finalize();
export function crash_handler_active() : boolean;
export function crash();
}