v/examples/call_v_from_python/test.v

7 lines
71 B
V
Raw Normal View History

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