Re: Bonobo stream API mis-naming ...



	   Apparently; and yet seemingly gnome-vfs-method with it's:

   struct GnomeVFSMethod {
	   GnomeVFSMethodOpenFunc open;
...
	   Works ok ?

	   So what is the story here ? Morten ? Sun people ?

If you're lucky and happen to have the "right" include order, this might
work, although the members might not be called what you thought they were.

   Why is someone doing
   a #define foo baa when they could #define foo(a) baa(a) ?

Because that will bite you in other ways.  How many args does open
(from libc) have?  How many does the above one have?

I'd say the bottom line is to use "Open", not "open" for things like the
above.

Morten



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