Improve code quality for alloc_size (#196)

* Improve code quality for alloc_size

* Made error noreturn.

* Update docs.

* Move annoation
This commit is contained in:
Matthew Parkinson
2020-05-23 16:16:12 +01:00
committed by GitHub
parent fbbc2ddb76
commit 87dfd41553
8 changed files with 25 additions and 16 deletions

View File

@@ -160,7 +160,7 @@ your system.
The PAL must implement the following methods:
```c++
void error(const char* const str) noexcept;
[[noreturn]] void error(const char* const str) noexcept;
```
Report a fatal error and exit.