v/examples/call_v_from_python/test.v

7 lines
71 B
V

module test
[export: 'square']
fn square(i int) int {
return i * i
}