From cdd4b55e264fae2439600408800d23a0f20eebfe Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Thu, 3 Oct 2024 14:11:15 -0400 Subject: [PATCH] Fix bad use of address-of in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d1836c..7de83d5 100644 --- a/README.md +++ b/README.md @@ -338,7 +338,7 @@ Clojure code to make this easier. [ints] (let [arr-len (count ints) int-array (mem/serialize ints [::mem/array ::mem/int arr-len])] - (native-fn (mem/address-of int-array) arr-len))) + (native-fn int-array arr-len))) ``` The symbol `native-fn` can be any unqualified symbol, and names the native