Fix incorrect type in the typealias example
This commit is contained in:
parent
b2cd8a4a95
commit
2ee82df565
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ macro `defalias` is used to define a struct alias.
|
||||||
```clojure
|
```clojure
|
||||||
(defalias ::point
|
(defalias ::point
|
||||||
[::ffi/struct
|
[::ffi/struct
|
||||||
[:x ::ffi/float]
|
[[:x ::ffi/float]
|
||||||
[:y ::ffi/float]])
|
[:y ::ffi/float]]])
|
||||||
|
|
||||||
(defcfn zero-point
|
(defcfn zero-point
|
||||||
"zero" [] ::point)
|
"zero" [] ::point)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue