Update example to use new address manipulation
This commit is contained in:
parent
3dd9571d24
commit
a568c1c5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@
|
|||
"someFunc" [::pointer] ::int
|
||||
[]
|
||||
(let [out-int (alloc-instance ::int)
|
||||
success? (zero? (some-func (.address out-int)))]
|
||||
success? (zero? (some-func (address-of out-int)))]
|
||||
(if success?
|
||||
(deserialize ::int out-int)
|
||||
(throw (ex-info (getErrorString) {})))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue