| 362 | } |
| 363 | |
| 364 | void exit(int32_t _exitCode, bool _cleanup) |
| 365 | { |
| 366 | if (_cleanup) |
| 367 | { |
| 368 | ::exit(_exitCode); |
| 369 | } |
| 370 | |
| 371 | #if BX_PLATFORM_WINDOWS |
| 372 | TerminateProcess(GetCurrentProcess(), _exitCode); |
| 373 | #else |
| 374 | _Exit(_exitCode); |
| 375 | #endif // BX_PLATFORM_* |
| 376 | } |
| 377 | |
| 378 | void* memoryMap(void* _address, size_t _size, Error* _err) |
| 379 | { |
no outgoing calls
no test coverage detected