Don't call tostring on serializing c-string
This commit is contained in:
parent
eeba1711d6
commit
30e549b406
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@
|
||||||
(defmethod serialize* ::c-string
|
(defmethod serialize* ::c-string
|
||||||
[obj _type scope]
|
[obj _type scope]
|
||||||
(if obj
|
(if obj
|
||||||
(address-of (CLinker/toCString (str obj) ^ResourceScope scope))
|
(address-of (CLinker/toCString ^String obj ^ResourceScope scope))
|
||||||
(MemoryAddress/NULL)))
|
(MemoryAddress/NULL)))
|
||||||
|
|
||||||
(defmethod deserialize* ::c-string
|
(defmethod deserialize* ::c-string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue