MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / LG

Function LG

deps/unzipfx/unix/unix.c:1773–1783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1771
1772
1773static ulg LG(ulg val)
1774{
1775 /* convert the big-endian unsigned long number `val' to the machine
1776 * dependent representation
1777 */
1778 ush swapbuf[2];
1779
1780 swapbuf[1] = SH((ush)(val & 0xffff));
1781 swapbuf[0] = SH((ush)(val >> 16));
1782 return (*(ulg *)swapbuf);
1783}
1784
1785
1786

Callers 1

unix.cFile · 0.85

Calls 1

SHFunction · 0.85

Tested by

no test coverage detected