To initialize struct, you can do like this :
public static void main (string[] args) {
Value val = Value (typeof (int));
val.set_int (33);
}
But Vala brings another way to initialize values :
public static void main (string[] args) {
Value val = 33;
}
Your value is initialized with 'int' type and holds '33' int value.