MCPcopy Create free account
hub / github.com/defold/defold / Swap

Method Swap

engine/dlib/src/dmsdk/dlib/array.h:583–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581
582template <typename T>
583void dmArray<T>::Swap(dmArray<T>& rhs)
584{
585 SWAP(T*, m_Front, rhs.m_Front);
586 SWAP(T*, m_End, rhs.m_End);
587 SWAP(T*, m_Back, rhs.m_Back);
588 SWAP(uint16_t, m_UserAllocated, rhs.m_UserAllocated);
589}
590
591#undef SWAP
592

Callers 7

SortSkinBonesFunction · 0.45
ResetEmitterFunction · 0.45
JobSystemUpdateFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
PopHintsFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36