* [PATCH 0/6] add internal static library to include common utilities
[not found] <1648775142388217926-webhooks-bot@alsa-project.org>
@ 2022-04-01 1:05 ` GitHub pull_request - opened
0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2022-04-01 1:05 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-gobject pull request #67 was opened from takaswie:
Current implementation of included libraries have duplicated codes
to operate over sysfs by libudev and so. It's inconvenient in a point of
maintenance.
This patchset adds internal static library to include such codes.
```
Takashi Sakamoto (6):
utils: build internal static library including common utilities
utils: add utility to compute integer value from string literal
utils: add utilities to allocate string information for device
utils: add utilitiy to generate list of sysnum by prefix of sysname
utils: add utilities to request control ioctl
utils: add utility macros to generate GError with file domain
src/ctl/card.c | 5 +-
src/ctl/meson.build | 2 +-
src/ctl/query.c | 261 ++----------------------------
src/hwdep/meson.build | 2 +-
src/hwdep/query.c | 306 +++--------------------------------
src/meson.build | 1 +
src/rawmidi/meson.build | 2 +-
src/rawmidi/query.c | 324 ++++----------------------------------
src/rawmidi/stream-pair.c | 5 +-
src/seq/meson.build | 2 +-
src/seq/query.c | 87 ++--------
src/seq/user-client.c | 5 +-
src/timer/meson.build | 2 +-
src/timer/query.c | 105 +++---------
src/timer/user-instance.c | 5 +-
src/utils/ioctl.c | 45 ++++++
src/utils/meson.build | 23 +++
src/utils/string.c | 47 ++++++
src/utils/sysfs.c | 176 +++++++++++++++++++++
src/utils/utils.h | 176 +++++++++++++++++++++
20 files changed, 578 insertions(+), 1003 deletions(-)
create mode 100644 src/utils/ioctl.c
create mode 100644 src/utils/meson.build
create mode 100644 src/utils/string.c
create mode 100644 src/utils/sysfs.c
create mode 100644 src/utils/utils.h
```
Request URL : https://github.com/alsa-project/alsa-gobject/pull/67
Patch URL : https://github.com/alsa-project/alsa-gobject/pull/67.patch
Repository URL: https://github.com/alsa-project/alsa-gobject
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-01 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1648775142388217926-webhooks-bot@alsa-project.org>
2022-04-01 1:05 ` [PATCH 0/6] add internal static library to include common utilities GitHub pull_request - opened
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.