dev/vala/shared_library/test_shared.vala

10 lines
146 B
Vala

namespace MyMath {
public int sum(int a, int b) {
return(a + b);
}
public int square(int a) {
return(a * a);
}
}