hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

malloc+libc.ha (305B)


      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 };