vdoc: cleanup warnings on `./v doc -s vlib`
parent
d80843bf53
commit
5526954fdc
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue