mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
7 lines
393 B
Plaintext
7 lines
393 B
Plaintext
module std::os::win32 @if(env::WIN32);
|
|
import std::math;
|
|
|
|
extern fn void getSystemTimeAsFileTime(Win32_FILETIME* time) @cname("GetSystemTimeAsFileTime");
|
|
extern fn Win32_BOOL queryPerformanceFrequency(Win32_LARGE_INTEGER* lpFrequency) @cname("QueryPerformanceFrequency");
|
|
extern fn Win32_BOOL queryPerformanceCounter(Win32_LARGE_INTEGER* lpPerformanceCount) @cname("QueryPerformanceCounter");
|