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