mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
51 lines
631 B
V
51 lines
631 B
V
module builtin
|
|
|
|
pub fn (i int) str() string {
|
|
mut res := ''
|
|
#res = new string( i )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i i64) str() string {
|
|
mut res := ''
|
|
#res = new string( i )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i u32) str() string {
|
|
mut res := ''
|
|
#res = new string( i )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i u64) str() string {
|
|
mut res := ''
|
|
#res = new string( i )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i bool) str() string {
|
|
mut res := ''
|
|
#res = new string( i )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i any) str() string {
|
|
mut res := ''
|
|
#res = new string( i.toString() )
|
|
|
|
return res
|
|
}
|
|
|
|
pub fn (i int_literal) str() string {
|
|
res := ''
|
|
#res.str = i.val.toString()
|
|
|
|
return res
|
|
}
|