ReactOS
0.4.16-dev-319-g6cf4263
Functions
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
}
src
GLenum src
Definition:
glext.h:6340
dst
GLenum GLenum dst
Definition:
glext.h:6340
s1
struct S1 s1
unsigned
static unsigned(__cdecl *hash_bstr)(bstr_t s)
sdk
lib
crt
stdlib
swab.c
Generated on Wed Dec 4 2024 06:23:19 for ReactOS by
1.9.6