mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: cleanup warnings on ./v doc -s vlib
This commit is contained in:
@ -3,5 +3,5 @@ module sharedlib
|
|||||||
import live
|
import live
|
||||||
|
|
||||||
pub const (
|
pub const (
|
||||||
is_used = 1
|
is_used = live.is_used + 1
|
||||||
)
|
)
|
||||||
|
@ -76,7 +76,7 @@ pub fn (n Number) str() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn (n Number) hexstr() string {
|
pub fn (n Number) hexstr() string {
|
||||||
mut buf := [8192]byte
|
mut buf := [8192]byte{}
|
||||||
C.bignum_to_string( &n, buf, 8192)
|
C.bignum_to_string( &n, buf, 8192)
|
||||||
// NB: bignum_to_string , returns the HEXADECIMAL representation of the bignum n
|
// NB: bignum_to_string , returns the HEXADECIMAL representation of the bignum n
|
||||||
s := tos_clone( buf )
|
s := tos_clone( buf )
|
||||||
|
Reference in New Issue
Block a user