hare

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

commit d591c48ee5757c8070e9fb32874a446bd2896589
parent 2573019fd7a242c9809fbcfb6b51ec3bdf4f37f1
Author: Conrad Hoffmann <ch@bitfehler.net>
Date:   Wed, 16 Aug 2023 11:53:50 +0200

net::dns: remove obsolete reference in docs

The referenced function and most others needed to use it properly were
un-exported in a refactoring long ago (see a6923d1).

Diffstat:
Mnet/dns/decode.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/dns/decode.ha b/net/dns/decode.ha @@ -14,7 +14,7 @@ type decoder = struct { // Decodes a DNS message, heap allocating the resources necessary to represent // it in Hare's type system. The caller must use [[message_free]] to free the -// return value. To decode without use of the heap, see [[decoder_init]]. +// return value. export fn decode(buf: []u8) (*message | format) = { let success = false; let msg = alloc(message { ... });