mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
16 lines
208 B
V
16 lines
208 B
V
module amodule
|
|
|
|
pub fn iadd(x int, y int) int {
|
|
return x + y
|
|
}
|
|
|
|
pub fn imul(x int, y int) int {
|
|
return x * y
|
|
}
|
|
|
|
///////////////////////////////////////
|
|
|
|
fn private_isub(x int, y int) int {
|
|
return x - y
|
|
}
|