mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
v.gen.js: port string methods and fix booleans (#10824)
This commit is contained in:
parent
8b8f496762
commit
d5e0fa6d1b
13 changed files with 332 additions and 12 deletions
|
@ -74,7 +74,7 @@ fn (a &array) set_len(i int) {
|
|||
#a.arr.length=i
|
||||
}
|
||||
|
||||
pub fn (mut a array) sort_with_comparator(compare voidptr) {
|
||||
pub fn (mut a array) sort_with_compare(compare voidptr) {
|
||||
#a.arr.sort(compare)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue