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
10{
15 OSMesgQueue *mq;
16 OSMesg *msg;
18
19typedef u64 OSTime;
20
21/* Functions */
22
23OSTime osGetTime(void);
24void osSetTime(OSTime time);
25u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg);
26
27#endif
unsigned long long int u64
Definition llconv.c:2
void osSetTime(OSTime time)
Definition osSetTime.c:5
u64 OSTime
Definition os_time.h:19
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:10
struct OSTimer_str * next
Definition os_time.h:11
OSMesgQueue * mq
Definition os_time.h:15
struct OSTimer_str * prev
Definition os_time.h:12
u64 remaining
Definition os_time.h:14
u64 interval
Definition os_time.h:13
OSMesg * msg
Definition os_time.h:16
unsigned int u32
Definition ultratypes.h:16