Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 1m17s
All checks were successful
CI / build-and-analyze (push) Successful in 1m17s
This commit is contained in:
@@ -1,10 +1,18 @@
|
|||||||
#ifndef CGE_TIMER_H
|
#ifndef CGE_TIMER_H
|
||||||
#define CGE_TIMER_H
|
#define CGE_TIMER_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
int CgeTimerIsMonotonic(void);
|
int CgeTimerIsMonotonic(void);
|
||||||
uint64_t CgeTimerNanoseconds(void);
|
uint64_t CgeTimerNanoseconds(void);
|
||||||
uint64_t CgeTimerMilliseconds(void);
|
uint64_t CgeTimerMilliseconds(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* CGE_TIMER_H */
|
#endif /* CGE_TIMER_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user