Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
216
ILubyte SaveLittleInt(ILint i) {
217
#ifdef __BIG_ENDIAN__
218
iSwapInt(&i);
219
#endif
220
return iwrite(&i, sizeof(ILint), 1);
221
}
222
223
ILubyte SaveLittleFloat(ILfloat f) {
224
#ifdef __BIG_ENDIAN__
Callers
2
iSaveSgiInternal
Function · 0.85
iSaveBitmapInternal
Function · 0.85
Calls
1
iSwapInt
Function · 0.85
Tested by
no test coverage detected