Hello,
I am trying to create python bindings to a vala library. However, I am
having trouble auto-generating the gir using valac.
Consider the attached helloworld example. When I run
valac helloworld.vala --gir=Hello-1.0.gir
I get no output at all. What am I doing it wrong? How can I obtain a gir
file using valac?
Thanks,
Celil
public struct Point {
public double x;
public double y;
}
public class Person {
public int age = 32;
public Person(int age) {
this.age = age;
}
}
public int main() {
var p = Point() { x=0.0, y=0.1 };
stdout.printf("%f %f\n", p.x, p.y);
var per = new Person(22);
stdout.printf("%d\n", per.age);
return 0;
}
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list