| 36 | |
| 37 | #ifdef CC_BUILD_NOSTDLIB |
| 38 | void* Mem_Set(void* dst, cc_uint8 value, unsigned numBytes) { |
| 39 | char* dp = (char*)dst; |
| 40 | |
| 41 | while (numBytes--) *dp++ = value; /* TODO optimise */ |
| 42 | return dst; |
| 43 | } |
| 44 | |
| 45 | void* Mem_Copy(void* dst, const void* src, unsigned numBytes) { |
| 46 | char* sp = (char*)src; |
no outgoing calls
no test coverage detected