| 576 | } |
| 577 | |
| 578 | NULLCRef NULLC::CopyObject(NULLCRef ptr) |
| 579 | { |
| 580 | NULLCRef ret; |
| 581 | ret.typeID = ptr.typeID; |
| 582 | unsigned int objSize = linker->exTypes[ret.typeID].size; |
| 583 | ret.ptr = (char*)AllocObject(objSize); |
| 584 | memcpy(ret.ptr, ptr.ptr, objSize); |
| 585 | return ret; |
| 586 | } |
| 587 | |
| 588 | void NULLC::CopyArray(NULLCAutoArray* dst, NULLCAutoArray src) |
| 589 | { |
nothing calls this directly
no outgoing calls
no test coverage detected