Implement str for (Ptr CChar).

This commit is contained in:
Erik Svedäng 2020-05-27 22:36:02 +02:00
parent 2e766d4311
commit 4dc505ba19

View File

@ -186,7 +186,10 @@
(defn str [s]
(str &(the String s)))
(implements str StringCopy.str)
)
)
(defmodule CString
(implements str String.from-cstr))
(defmodule Bool
(register str (Fn [Bool] String))