1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: show how to call a simple v module from python (#13105)

This commit is contained in:
Saptak Bhoumik
2022-01-09 23:23:36 +05:30
committed by GitHub
parent 535317eba3
commit 5e85d4cb39
4 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
module test
[export: 'square']
fn square(i int) int {
return i * i
}