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