mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
parser: check (mut f Foo)
syntax
This commit is contained in:
parent
b138cadbcb
commit
7f4cf08516
87 changed files with 492 additions and 480 deletions
|
@ -47,17 +47,17 @@ pub fn (a array) repeat(nr_repeats int) array {
|
|||
return a
|
||||
}
|
||||
|
||||
pub fn (a mut array) sort_with_compare(compare voidptr) {
|
||||
pub fn (mut a array) sort_with_compare(compare voidptr) {
|
||||
}
|
||||
|
||||
pub fn (a mut array) insert(i int, val voidptr) {
|
||||
pub fn (mut a array) insert(i int, val voidptr) {
|
||||
}
|
||||
|
||||
pub fn (a mut array) prepend(val voidptr) {
|
||||
pub fn (mut a array) prepend(val voidptr) {
|
||||
a.insert(0, val)
|
||||
}
|
||||
|
||||
pub fn (a mut array) delete_elm(idx int) {
|
||||
pub fn (mut a array) delete_elm(idx int) {
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -132,7 +132,7 @@ pub fn (b []byte) hex() string {
|
|||
return 'sdf'
|
||||
}
|
||||
|
||||
pub fn (arr mut array) push_many(val voidptr, size int) {
|
||||
pub fn (mut arr array) push_many(val voidptr, size int) {
|
||||
}
|
||||
|
||||
pub fn free(voidptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue