| 300 | |
| 301 | #if !defined(TORQUE_DISABLE_MEMORY_MANAGER) |
| 302 | static void setGuard(Header *header, bool alloc) |
| 303 | { |
| 304 | U32 guardVal = alloc ? AllocatedGuard : FreeGuard; |
| 305 | for(U32 i = 0; i < 4; i++) |
| 306 | header->preguard[i] = header->postguard[i] = guardVal; |
| 307 | } |
| 308 | #endif // !defined(TORQUE_DISABLE_MEMORY_MANAGER) |
| 309 | |
| 310 | #endif // TORQUE_DEBUG_GUARD |
no outgoing calls
no test coverage detected