MCPcopy Create free account
hub / github.com/numpy/numpy / STRING_SWAP

Function STRING_SWAP

numpy/core/src/npysort/npysort_common.h:268–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267
268static inline void
269STRING_SWAP(char *s1, char *s2, size_t len)
270{
271 while(len--) {
272 const char t = *s1;
273 *s1++ = *s2;
274 *s2++ = t;
275 }
276}
277
278
279static inline int

Callers 1

swapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected