time: make C._FILETIME and C.tm fields pub mut

This commit is contained in:
Delyan Angelov 2024-05-21 18:54:06 +03:00
parent 6a550ab86e
commit fc45c0a55b
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ module time
#include <errno.h>
pub struct C.tm {
pub mut:
tm_sec int
tm_min int
tm_hour int

View File

@ -7,6 +7,7 @@ module time
// #include <sysinfoapi.h>
pub struct C.tm {
pub mut:
tm_year int
tm_mon int
tm_mday int
@ -16,6 +17,7 @@ pub struct C.tm {
}
pub struct C._FILETIME {
pub mut:
dwLowDateTime u32
dwHighDateTime u32
}