Mario Kart 64
Loading...
Searching...
No Matches
os_time.h
Go to the documentation of this file.
1#ifndef _ULTRA64_TIME_H_
2#define _ULTRA64_TIME_H_
3
4#include <PR/ultratypes.h>
5#include <PR/os_message.h>
6
7/* Types */
8
9typedef struct OSTimer_str {
14 OSMesgQueue* mq;
15 OSMesg* msg;
17
18typedef u64 OSTime;
19
20/* Functions */
21
22OSTime osGetTime(void);
23void osSetTime(OSTime time);
24u32 osSetTimer(OSTimer*, OSTime, u64, OSMesgQueue*, OSMesg);
25
26#endif
unsigned long long int u64
Definition llconv.c:2
void osSetTime(OSTime time)
Definition osSetTime.c:5
u64 OSTime
Definition os_time.h:18
u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg)
Definition osSetTimer.c:6
OSTime osGetTime(void)
Definition osGetTime.c:6
struct OSTimer_str OSTimer
Definition os_time.h:9
struct OSTimer_str * next
Definition os_time.h:10
OSMesgQueue * mq
Definition os_time.h:14
struct OSTimer_str * prev
Definition os_time.h:11
u64 remaining
Definition os_time.h:13
u64 interval
Definition os_time.h:12
OSMesg * msg
Definition os_time.h:15
unsigned int u32
Definition ultratypes.h:16