ReactOS 0.4.15-dev-8219-ge8b88cf
swab.c File Reference
#include <precomp.h>
Include dependency graph for swab.c:

Go to the source code of this file.

Functions

void _swab (char *src, char *dst, int sizeToCopy)
 

Function Documentation

◆ _swab()

void _swab ( char src,
char dst,
int  sizeToCopy 
)

Definition at line 18 of file swab.c.

20{
21 if (sizeToCopy > 1)
22 {
23 sizeToCopy = (unsigned)sizeToCopy >> 1;
24
25 while (sizeToCopy--) {
26 char s0 = src[0];
27 char s1 = src[1];
28 *dst++ = s1;
29 *dst++ = s0;
30 src = src + 2;
31 }
32 }
33}
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
struct S1 s1
static unsigned(__cdecl *hash_bstr)(bstr_t s)