1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-16 10:08:36 +03:00
occt/src/math/math_Memory.cxx
2012-03-05 19:23:40 +04:00

11 lines
293 B
C++
Executable File

//static const char* sccsid = "@(#)math_Memory.cxx 3.2 95/01/10"; // Do not delete this line. Used by sccs.
#include <math_Memory.hxx>
void *reverse_move(void *s1, void *s2, int size) {
for(int i = size - 1; i >= 0; i--) {
*((char *)s1 + i) = *((char *)s2 + i);
}
return s1;
}