restored swigwriter.vala