MCPcopy 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
114ILint GetLittleInt() {
115 ILint i;
116 iread(&i, sizeof(ILint), 1);
117#ifdef __BIG_ENDIAN__
118 iSwapInt(&i);
119#endif
120 return i;
121}
122
123ILfloat GetLittleFloat() {
124 ILfloat f;

Callers 5

iLoadIconInternalFunction · 0.85
iLoadCutInternalFunction · 0.85
iGetVtfHeadFunction · 0.85
iLoadDoomInternalFunction · 0.85
iGetBmpHeadFunction · 0.85

Calls 1

iSwapIntFunction · 0.85

Tested by

no test coverage detected