Fix incorrect parens in readme example
This commit is contained in:
parent
5a72175712
commit
e35614a516
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue