Frees memory in a room Doesn't actually do anything
| 515 | // Frees memory in a room |
| 516 | // Doesn't actually do anything |
| 517 | void RoomMemFree(void *buf) { |
| 518 | if (!buf) |
| 519 | return; |
| 520 | |
| 521 | if (Room_mem_buf) { |
| 522 | ASSERT(((buf) >= Room_mem_buf) && ((buf) < (Room_mem_buf + Room_mem_size))); |
| 523 | } else |
| 524 | mem_free(buf); |
| 525 | } |
| 526 | |
| 527 | // Initalize a room, allocating memory and filling in fields |
| 528 | // Parameters: rp - the room to be initialized |
no outgoing calls
no test coverage detected