[PATCH RESEND libgpiod v2 13/18] dbus: add gpio-manager code

Bartosz Golaszewski brgl at bgdev.pl
Tue Jul 2 09:32:17 UTC 2024


On Tue, Jul 2, 2024 at 11:19 AM Emmanuele Bassi <ebassi at gmail.com> wrote:
>
> On Tue, 2 Jul 2024 at 10:02, Thiago Macieira <thiago at kde.org> wrote:
>>
>>
>> > It's a pattern recommended by and used throughout GLib and all Gnome
>> > projects using it.
>>
>> It's wrong. Glib developers ought to remove the recommendation.
>
>
> There's no such recommendation anywhere, just a metric ton of code that has been doing it since 1996 and gets copy-pasted anyway.
>
> In practice, though, given the namespacing rules for any GLib-based code, the possibility of conflict with anything the ISO WG14 working group comes up with is virtually zero.
>

This is my thinking too. The "_GPIOD" prefix is unique enough to not
have to care about it.

I'll allow myself to leave it as is.

Bart


More information about the dbus mailing list