MCPcopy Create free account
hub / github.com/DentonW/DevIL / GetBigShort

Function GetBigShort

DevIL/src-IL/src/il_endian.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150ILshort GetBigShort() {
151 ILshort s;
152 iread(&s, sizeof(ILshort), 1);
153#ifdef __LITTLE_ENDIAN__
154 iSwapShort(&s);
155#endif
156 return s;
157}
158
159ILuint GetBigUInt() {
160 ILuint i;

Callers 3

iGetPicHeadFunction · 0.85
iLoadIffInternalFunction · 0.85
iLoadFitsInternalFunction · 0.85

Calls 1

iSwapShortFunction · 0.85

Tested by

no test coverage detected