Re: Utility functions from gnome-libs



On Sat, 15 Jul 2000, Tim Janik wrote:

> On 5 Jul 2000, Owen Taylor wrote:

> > > typedef enum
> > > {
> > >   G_FILE_IS_FILE	= 1 << 0,
> > >   G_FILE_IS_LINK	= 1 << 1,
> > >   G_FILE_IS_DIR		= 1 << 2,
> > >   G_FILE_EXISTS		= G_FILE_IS_FILE | G_FILE_IS_LINK | G_FILE_IS_DIR
> > > } GFileType;
> > 
> > Yes, the enumeration should be named, not anonymous. Was there
> > another objection or was that all?
> > 
> 
> i'm sorry, i don't quite understand your question.

ok scratch that, i should have simply read on.
yes, you should pass in the flags for the things you
want to test on, like you suggested.
along with that, we should probably implement joels
g_file_test_and_open().

any volounteers popping up? (they don't grow on trees
in the summer, do they?)

> 
> > 
> > Regards,
> >                                         Owen
> > 
> 
> ---
> ciaoTJ
> 

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]