Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DentonW/DevIL
/ GetLittleInt
Function
GetLittleInt
DevIL/src-IL/src/il_endian.cpp:114–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
}
113
114
ILint GetLittleInt() {
115
ILint i;
116
iread(&i, sizeof(ILint), 1);
117
#ifdef __BIG_ENDIAN__
118
iSwapInt(&i);
119
#endif
120
return i;
121
}
122
123
ILfloat GetLittleFloat() {
124
ILfloat f;
Callers
5
iLoadIconInternal
Function · 0.85
iLoadCutInternal
Function · 0.85
iGetVtfHead
Function · 0.85
iLoadDoomInternal
Function · 0.85
iGetBmpHead
Function · 0.85
Calls
1
iSwapInt
Function · 0.85
Tested by
no test coverage detected