Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
search.h
Go to the documentation of this file.
1
#ifndef SEARCH_H
2
#define SEARCH_H
3
4
#include "
dolphin/os.h
"
5
6
namespace
JGadget
{
7
11
template
<
typename
T>
12
inline
const
T
&
toValueFromIndex
(
int
idx,
const
T
*
pValue
,
u32
count,
const
T
&
fallback
) {
13
ASSERT
(
pValue
!=
NULL
);
14
return
(idx >= count) ?
fallback
:
pValue
[idx];
15
}
16
17
}
// namespace JGadget
18
19
#endif
/* SEARCH_H */
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
T
static const double T[]
Definition
k_tan.c:106
JGadget
Definition
std-vector.cpp:14
JGadget::toValueFromIndex
const T & toValueFromIndex(int idx, const T *pValue, u32 count, const T &fallback)
Definition
search.h:12
os.h
u32
unsigned long u32
Definition
types.h:10
include
JSystem
JGadget
search.h
Generated by
1.9.8