hare

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

commit da816fe72dc3076db4245b6b96d39986ee4e39f5
parent be1a9c3ce73cbd762bff9d023092a23e6c1a43dc
Author: Sebastian <sebastian@sebsite.pw>
Date:   Tue, 29 Aug 2023 02:32:28 -0400

rt: fix getmeta docs

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mrt/malloc.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/malloc.ha b/rt/malloc.ha @@ -150,7 +150,7 @@ export fn realloc(p: nullable *opaque, n: size) nullable *opaque = { }; // Gets the metadata for a given allocation. The provided pointer must have been -// returned by [[malloc]] and must not have been freed. +// returned by [[malloc]] or [[realloc]] and must not have been freed. export fn getmeta(p: *opaque) *meta = { let m = (p: uintptr - META): *meta; validatemeta(m, false);