mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
builtin: add size_t.str()
again (#11446)
This commit is contained in:
parent
e57b068df0
commit
1a2d5f65fb
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue