Skip to content

Commit

Permalink
update for new V
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed Dec 23, 2024
1 parent dfc4399 commit 36b31ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ V:
```
module foo
pub fn add(a, b i32) i32 {
pub fn add(a i32, b i32) i32 {
return a + b
}
```
Expand Down
2 changes: 1 addition & 1 deletion lib/FFI/Build/File/VMod.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ffi/foo.v:
module foo
pub fn add(a, b i32) i32 {
pub fn add(a i32, b i32) i32 {
return a + b
}
Expand Down
2 changes: 1 addition & 1 deletion lib/FFI/Platypus/Lang/V.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ V:
module foo
pub fn add(a, b i32) i32 {
pub fn add(a i32, b i32) i32 {
return a + b
}
Expand Down
2 changes: 1 addition & 1 deletion t/ffi_build_file_vmod__with_v_compiler.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Module {
@@ ffi/src/libfoo.v
module libfoo
pub fn add(a, b i32) i32 {
pub fn add(a i32, b i32) i32 {
return a + b
}
Expand Down

0 comments on commit 36b31ce

Please sign in to comment.