Wise&mystical
1.0
Project about Europe
Toggle main menu visibility
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
i
m
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
c
g
m
n
o
r
s
t
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
g
k
m
n
p
r
s
t
v
Enumerator
a
b
c
d
f
g
h
k
l
m
n
o
p
r
s
t
v
Macros
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
▼
Wise&mystical
LICENSE
Deprecated List
►
Modules
►
Classes
▼
Files
▼
File List
▼
Game
►
_build
▼
raylib-master
▼
src
►
external
►
extras
►
config.h
►
raudio.c
►
raudio.h
►
raylib.h
►
raymath.h
rcamera.h
►
rcore.c
►
rgestures.h
rglfw.c
►
rlgl.h
►
rmodels.c
►
rshapes.c
►
rtext.c
►
rtextures.c
►
utils.c
►
utils.h
html
►
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
1
27
#ifndef UTILS_H
28
#define UTILS_H
29
30
#if defined(PLATFORM_ANDROID)
31
#include <stdio.h>
// Required for: FILE
32
#include <android/asset_manager.h>
// Required for: AAssetManager
33
#endif
34
35
#if defined(SUPPORT_TRACELOG)
36
#define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__)
37
38
#if defined(SUPPORT_TRACELOG_DEBUG)
39
#define TRACELOGD(...) TraceLog(LOG_DEBUG, __VA_ARGS__)
40
#else
41
#define TRACELOGD(...) (void)0
42
#endif
43
#else
44
#define TRACELOG(level, ...) (void)0
45
#define TRACELOGD(...) (void)0
46
#endif
47
48
//----------------------------------------------------------------------------------
49
// Some basic Defines
50
//----------------------------------------------------------------------------------
51
#if defined(PLATFORM_ANDROID)
52
#define fopen(name, mode) android_fopen(name, mode)
53
#endif
54
55
//----------------------------------------------------------------------------------
56
// Types and Structures Definition
57
//----------------------------------------------------------------------------------
58
//...
59
60
//----------------------------------------------------------------------------------
61
// Global Variables Definition
62
//----------------------------------------------------------------------------------
63
// Nop...
64
65
//----------------------------------------------------------------------------------
66
// Module Functions Declaration
67
//----------------------------------------------------------------------------------
68
#ifdef __cplusplus
69
extern
"C"
{
// Prevents name mangling of functions
70
#endif
71
72
#if defined(PLATFORM_ANDROID)
73
void
InitAssetManager(AAssetManager *manager,
const
char
*dataPath);
// Initialize asset manager from android app
74
FILE *android_fopen(
const
char
*fileName,
const
char
*mode);
// Replacement for fopen() -> Read-only!
75
#endif
76
77
#ifdef __cplusplus
78
}
79
#endif
80
81
#endif
// UTILS_H
Game
raylib-master
src
utils.h
Generated by
1.9.5