dbus-sysdeps-unix.h
Havoc Pennington
hp at redhat.com
Tue Sep 12 08:43:22 PDT 2006
Peter Kümmel wrote:
>
> Are there any tricks to make a member private in C?
>
> The only idea I have is to stress the coder:
>
>
> #define DBUS_MEMBER_NAME too_long_name_to_be_convenient
>
> struct DBusFile
> {
> unsigned int DBUS_MEMBER_NAME;
> };
>
Yeah, don't do that. The dbus convention for this is to have DBusFile
and DBusRealFile, but it's not worth it for this.
Havoc
More information about the dbus
mailing list