MCPcopy Create free account
hub / github.com/NetHack/NetHack / lelong

Function lelong

win/share/tile2bmp.c:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static int32_t
53lelong(int32_t x)
54{
55#ifdef __BIG_ENDIAN__
56 return ((x & 0xff) << 24) | ((x & 0xff00) << 8) | ((x >> 8) & 0xff00)
57 | ((x >> 24) & 0xff);
58#else
59 return x;
60#endif
61}
62
63#ifdef __GNUC__
64typedef struct tagBMIH {

Callers 2

build_bmfhFunction · 0.85
build_bmihFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected