1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: VectoredExceptionHandler cast on x86 (#6525)

This commit is contained in:
Ekopalypse 2020-10-02 03:17:33 +00:00 committed by GitHub
parent c825275f7f
commit 1a7ac5e382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ fn unhandled_exception_handler(e &ExceptionPointers) int {
}
fn add_unhandled_exception_handler() {
add_vectored_exception_handler(unhandled_exception_handler)
add_vectored_exception_handler(VectoredExceptionHandler(voidptr(unhandled_exception_handler)))
}
fn C.IsDebuggerPresent() bool