mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-05 17:47:30 +03:00
Implement str
for (Ptr CChar).
This commit is contained in:
parent
2e766d4311
commit
4dc505ba19
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user