mirror of
https://github.com/vlang/v.git
synced 2025-09-14 01:47:30 -04:00
builtin: add size_t.str()
again (#11446)
This commit is contained in:
parent
e57b068df0
commit
1a2d5f65fb
@ -24,9 +24,9 @@ pub fn (x usize) str() string {
|
|||||||
return u64(x).str()
|
return u64(x).str()
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub fn (x size_t) str() string {
|
pub fn (x size_t) str() string {
|
||||||
// return u64(x).str()
|
return u64(x).str()
|
||||||
// }
|
}
|
||||||
|
|
||||||
pub fn (cptr &char) str() string {
|
pub fn (cptr &char) str() string {
|
||||||
return u64(cptr).hex()
|
return u64(cptr).hex()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user