[Vala] time_t properties

2009-01-28 Thread Christian Hergert
How would I go about making a property with time_t. It looks like the generated code is boxing just fine, it just generates a bad gtype for time_t. I will create a bug if necessary. $ valac test.vala test.c: In function 'test_item_class_init': test.c:83: error: 'TYPE_TIME_T' undeclared (first

Re: [Vala] posix.vapi additions

2009-01-28 Thread Ed Schouten
* Frederik scumm_fr...@gmx.net wrote: public FileDescriptor (string pathname, OpenFlags flags); Please don't do this. Please just call this open(). Even though I entirely agree we should make file descriptors object oriented, assuming open() is the `default' way to obtain file descriptors