mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: fix windows fn definitions
This commit is contained in:
parent
a1372e284c
commit
c14984899b
@ -23,7 +23,7 @@ pub mut:
|
|||||||
f_tag u32 // pdb classification
|
f_tag u32 // pdb classification
|
||||||
f_name_len u32 // Actual length of name
|
f_name_len u32 // Actual length of name
|
||||||
f_max_name_len u32 // must be manually set
|
f_max_name_len u32 // must be manually set
|
||||||
f_name byte // must be calloc(f_max_name_len)
|
f_name u8 // must be calloc(f_max_name_len)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct SymbolInfoContainer {
|
pub struct SymbolInfoContainer {
|
||||||
@ -37,7 +37,7 @@ pub mut:
|
|||||||
f_size_of_struct u32
|
f_size_of_struct u32
|
||||||
f_key voidptr
|
f_key voidptr
|
||||||
f_line_number u32
|
f_line_number u32
|
||||||
f_file_name &byte
|
f_file_name &u8
|
||||||
f_address u64
|
f_address u64
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ fn C.SymSetOptions(symoptions u32) u32
|
|||||||
// returns handle
|
// returns handle
|
||||||
fn C.GetCurrentProcess() voidptr
|
fn C.GetCurrentProcess() voidptr
|
||||||
|
|
||||||
fn C.SymInitialize(h_process voidptr, p_user_search_path &byte, b_invade_process int) int
|
fn C.SymInitialize(h_process voidptr, p_user_search_path &u8, b_invade_process int) int
|
||||||
|
|
||||||
fn C.CaptureStackBackTrace(frames_to_skip u32, frames_to_capture u32, p_backtrace voidptr, p_backtrace_hash voidptr) u16
|
fn C.CaptureStackBackTrace(frames_to_skip u32, frames_to_capture u32, p_backtrace voidptr, p_backtrace_hash voidptr) u16
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user