Fix incorrect parens in readme example

This commit is contained in:
Joshua Suskalo 2021-10-16 11:54:49 -05:00
parent 5a72175712
commit e35614a516

View file

@ -269,8 +269,8 @@ Clojure code to make this easier.
native-fn native-fn
[ints] [ints]
(let [arr-len (count ints) (let [arr-len (count ints)
int-array (serialize ints [::mem/array ::mem/int arr-len] int-array (serialize ints [::mem/array ::mem/int arr-len])]
(native-fn (mem/address-of int-array) arr-len))])) (native-fn (mem/address-of int-array) arr-len)))
``` ```
The symbol `native-fn` can be any unqualified symbol, and names the native The symbol `native-fn` can be any unqualified symbol, and names the native