That I totally forgot, thanks! It is working now. Al Thomas <astav...@yahoo.co.uk> ezt írta (időpont: 2017. ápr. 5., Sze, 17:28):
> > From: Gergely Polonkai <gerg...@polonkai.eu> > > Sent: Wednesday, 5 April 2017, 16:20 > > Subject: [Vala] Writing binding for non-GLib library using FILE * > > > I’m trying to create a binding for libjwt, and one of its functions use > > FILE * pointer to save a JWT token to a file. Reading [2] makes me think > I > > can use FileStream here, but vala complains: > > > > libjwt.vapi:77.28-77.37: error: The type name `FileStream' could not be > > found > > > FileStream is part of the GLib namespace. I think you either need to make > that explicit, so GLib.FileStream. Alternatively you can include the > namespace in your VAPI by adding: > > using GLib; > > at the beginning of the VAPI. > _______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list