Bind the String::humanize_size method
The method signature is also changed to use `uint64_t` instead of `size_t` for it to be Variant-compatible.
This commit is contained in:
parent
3b2033b941
commit
a0d00c0e99
4 changed files with 18 additions and 2 deletions
|
|
@ -3298,7 +3298,7 @@ static int _humanize_digits(int p_num) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
String String::humanize_size(size_t p_size) {
|
||||
String String::humanize_size(uint64_t p_size) {
|
||||
|
||||
uint64_t _div = 1;
|
||||
Vector<String> prefixes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue