MCPcopy Create free account
hub / github.com/diasurgical/devilution / CopyShorts

Function CopyShorts

Source/loadsave.cpp:231–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void CopyShorts(const void *src, const int n, void *dst)
232{
233 const auto *s = reinterpret_cast<const unsigned short *>(src);
234 auto *d = reinterpret_cast<unsigned short *>(dst);
235 for(int i = 0; i < n; i++) {
236 CopyShort(s, d);
237 ++d; ++s;
238 }
239}
240
241void CopyInt(const void *src, void *dst)
242{

Callers 2

LoadPlayerFunction · 0.85
SavePlayerFunction · 0.85

Calls 1

CopyShortFunction · 0.85

Tested by

no test coverage detected