John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 1 | #include "aos/logging/logging.h" |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 2 | |
| 3 | namespace aos { |
| 4 | namespace protobuf { |
| 5 | |
| 6 | void FatalArenaBlockAlloc(size_t) { |
Austin Schuh | f257f3c | 2019-10-27 21:00:43 -0700 | [diff] [blame] | 7 | AOS_LOG(FATAL, "trying to allocate in arena code"); |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 8 | } |
| 9 | |
| 10 | void FatalArenaBlockDealloc(void*, size_t) { |
Austin Schuh | f257f3c | 2019-10-27 21:00:43 -0700 | [diff] [blame] | 11 | AOS_LOG(FATAL, "trying to deallocate in arena code"); |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | } // namespace protobuf |
| 15 | } // namespace aos |