MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / Copy

Method Copy

external/as_add_on/scriptarray/scriptarray.cpp:1363–1366  ·  view source on GitHub ↗

internal Copy object handle or primitive value Even in arrays of objects the objects are allocated on the heap and the array stores the pointers to the objects

Source from the content-addressed store, hash-verified

1361// Even in arrays of objects the objects are allocated on
1362// the heap and the array stores the pointers to the objects
1363void CScriptArray::Copy(void *dst, void *src)
1364{
1365 memcpy(dst, src, elementSize);
1366}
1367
1368
1369// internal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected