mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: add -lpthread; x64: a+b, a-b
This commit is contained in:
@@ -321,6 +321,10 @@ pub fn (nn int) hex() string {
|
||||
return u32(nn).hex()
|
||||
}
|
||||
|
||||
pub fn (n int) hex2() string {
|
||||
return '0x' + n.hex()
|
||||
}
|
||||
|
||||
pub fn (nn u64) hex() string {
|
||||
if nn == 0 {
|
||||
return '0'
|
||||
|
||||
Reference in New Issue
Block a user