debug/malloc+libc.ha
raw| 1 | // SPDX-License-Identifier: MPL-2.0 |
| 2 | // (c) Hare authors <https://harelang.org> |
| 3 | |
| 4 | use unix::signal; |
| 5 | |
| 6 | fn begin_fatal() void = { |
| 7 | signal::resetall(); |
| 8 | }; |
| 9 | |
| 10 | fn begin_altheap() nullable *opaque = { |
| 11 | return null; // no-op on +libc |
| 12 | }; |
| 13 | |
| 14 | fn end_altheap(restore: nullable *opaque) void = { |
| 15 | void; // no-op on +libc |
| 16 | }; |