Re: Bonobo stream API mis-naming ...
- From: Morten Welinder <terra diku dk>
- To: michael ximian com
- Cc: gnome-hackers gnome org, nat ximian com, hp redhat com
- Subject: Re: Bonobo stream API mis-naming ...
- Date: 21 Aug 2002 13:45:32 -0000
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]