Fixed crash handler exports
This commit is contained in:
parent
755c008def
commit
47213530ff
1
native/crash_handler/.gitignore
vendored
1
native/crash_handler/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.idea/
|
.idea/
|
||||||
cmake-build-*
|
cmake-build-*
|
||||||
|
!exports/*.d.ts
|
12
native/crash_handler/exports/exports.d.ts
vendored
Normal file
12
native/crash_handler/exports/exports.d.ts
vendored
Normal 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();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user