parent
1e9316e23c
commit
0ca71dd92c
1 changed files with 2 additions and 2 deletions
|
|
@ -36,9 +36,9 @@ elif defined(macosx):
|
|||
MachTimebaseInfoData {.pure, final,
|
||||
importc: "mach_timebase_info_data_t",
|
||||
header: "<mach/mach_time.h>".} = object
|
||||
numer, denom: int32
|
||||
numer, denom: int32 # note: `uint32` in sources
|
||||
|
||||
proc mach_absolute_time(): int64 {.importc, header: "<mach/mach.h>".}
|
||||
proc mach_absolute_time(): uint64 {.importc, header: "<mach/mach_time.h>".}
|
||||
proc mach_timebase_info(info: var MachTimebaseInfoData) {.importc,
|
||||
header: "<mach/mach_time.h>".}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue