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

Function SaveLittleInt

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

Source from the content-addressed store, hash-verified

214}
215
216ILubyte SaveLittleInt(ILint i) {
217#ifdef __BIG_ENDIAN__
218 iSwapInt(&i);
219#endif
220 return iwrite(&i, sizeof(ILint), 1);
221}
222
223ILubyte SaveLittleFloat(ILfloat f) {
224#ifdef __BIG_ENDIAN__

Callers 2

iSaveSgiInternalFunction · 0.85
iSaveBitmapInternalFunction · 0.85

Calls 1

iSwapIntFunction · 0.85

Tested by

no test coverage detected