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

Function SaveLittleShort

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

Source from the content-addressed store, hash-verified

200}
201
202ILubyte SaveLittleShort(ILshort s) {
203#ifdef __BIG_ENDIAN__
204 iSwapShort(&s);
205#endif
206 return iwrite(&s, sizeof(ILshort), 1);
207}
208
209ILubyte SaveLittleUInt(ILuint i) {
210#ifdef __BIG_ENDIAN__

Callers 1

iSaveTargaInternalFunction · 0.85

Calls 1

iSwapShortFunction · 0.85

Tested by

no test coverage detected