mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +03:00
60d597fccd
Pragma once is supported by all compilers for the last ten years. Better use it instead of include guards (which use different styles in different files).
17 lines
319 B
C
17 lines
319 B
C
#pragma once
|
|
|
|
#include <time.h>
|
|
|
|
#include "cBackend.h"
|
|
|
|
Value *clockTimeMonotonic();
|
|
Value *clockTimeUtc();
|
|
Value *clockTimeProcess();
|
|
Value *clockTimeThread();
|
|
Value *clockTimeGcCpu();
|
|
Value *clockTimeGcReal();
|
|
|
|
int clockValid(Value *clock);
|
|
uint64_t clockSecond(Value *clock);
|
|
uint64_t clockNanosecond(Value *clock);
|