[PATCH 00/30] use utility macro to declare GObject-derived objects

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

 



alsa-project/alsa-gobject pull request #68 was opened from takaswie:

GObject v2.44 got new macro to declare GObject-derived objects. This enables us to reduce
boireplate for the declaration.

This patchset is to replace current boireplates with it.

```
Takashi Sakamoto (30):
  all: minor code refactoring for inclusion guard
  seq: enum: fix tab indentation
  timer: device_params: fix type decration with private data
  ctl: card: use an utility macro to declare GObject-derived object
  ctl: card_info: use an utility macro to declare GObject-derived object
  ctl: elem_info: use an utility macro to declare GObject-derived object
  ctl: elem_value: use an utility macro to declare GObject-derived object
  hwdep: device_info: use an utility macro to declare GObject-derived object
  rawmidi: stream_pair: use an utility macro to declare GObject-derived object
  rawmidi: substream_info: use an utility macro to declare GObject-derived object
  rawmidi; substream_params: use an utility macro to declare GObject-derived object
  rawmidi: substream_status: use an utility macro to declare GObject-derived object
  timer: user_instance: use an utility macro to declare GObject-derived object
  timer: device_info: use an utility macro to declare GObject-derived object
  timer: device_status: use an utility macro to declare GObject-derived object
  timer: device_params: use an utility macro to declare GObject-derived object
  timer: instance_info: use an utility macro to declare GObject-derived object
  timer: instance_status: use an utility macro to declare GObject-derived object
  timer: instance_params: use an utility macro to declare GObject-derived object
  seq: user_client: use an utility macro to declare GObject-derived object
  seq: client_info: use an utility macro to declare GObject-derived object
  seq: client_pool: use an utility macro to declare GObject-derived object
  seq: system_info: use an utility macro to declare GObject-derived object
  seq: port_info: use an utility macro to declare GObject-derived object
  seq: subscribe_data: use an utility macro to declare GObject-derived object
  seq: event_cntr: use an utility macro to declare GObject-derived object
  seq: queue_info: use an utility macro to declare GObject-derived object
  seq: queue_status: use an utility macro to declare GObject-derived object
  seq: queue_tempo: use an utility macro to declare GObject-derived object
  seq: queue_timer: use an utility macro to declare GObject-derived object

 src/ctl/alsactl-enum-types.h         |  4 +--
 src/ctl/card-info.c                  |  4 +--
 src/ctl/card-info.h                  | 36 +++----------------------
 src/ctl/card.c                       |  6 ++---
 src/ctl/card.h                       | 40 ++++------------------------
 src/ctl/elem-id.h                    |  4 +--
 src/ctl/elem-info.c                  |  4 +--
 src/ctl/elem-info.h                  | 36 +++----------------------
 src/ctl/elem-value.c                 |  8 +++---
 src/ctl/elem-value.h                 | 36 +++----------------------
 src/ctl/privates.h                   |  4 +--
 src/ctl/query.h                      |  4 +--
 src/hwdep/alsahwdep-enum-types.h     |  4 +--
 src/hwdep/device-info.c              |  4 +--
 src/hwdep/device-info.h              | 36 +++----------------------
 src/hwdep/privates.h                 |  4 +--
 src/hwdep/query.h                    |  4 +--
 src/meson.build                      |  2 +-
 src/rawmidi/alsarawmidi-enum-types.h |  4 +--
 src/rawmidi/privates.h               |  4 +--
 src/rawmidi/query.h                  |  4 +--
 src/rawmidi/stream-pair.c            |  4 +--
 src/rawmidi/stream-pair.h            | 36 +++----------------------
 src/rawmidi/substream-info.c         |  4 +--
 src/rawmidi/substream-info.h         | 38 +++-----------------------
 src/rawmidi/substream-params.c       |  4 +--
 src/rawmidi/substream-params.h       | 38 +++-----------------------
 src/rawmidi/substream-status.c       |  4 +--
 src/rawmidi/substream-status.h       | 37 +++----------------------
 src/seq/addr.h                       |  4 +--
 src/seq/alsaseq-enum-types.h         |  6 ++---
 src/seq/alsaseq.h                    |  4 +--
 src/seq/client-info.c                |  4 +--
 src/seq/client-info.h                | 36 +++----------------------
 src/seq/client-pool.c                |  4 +--
 src/seq/client-pool.h                | 36 +++----------------------
 src/seq/event-cntr.h                 | 36 +++----------------------
 src/seq/event-data-connect.h         |  4 +--
 src/seq/event-data-ctl.h             |  4 +--
 src/seq/event-data-note.h            |  4 +--
 src/seq/event-data-result.h          |  4 +--
 src/seq/port-info.c                  |  4 +--
 src/seq/port-info.h                  | 36 +++----------------------
 src/seq/privates.h                   |  4 +--
 src/seq/query.h                      |  4 +--
 src/seq/queue-info.c                 |  4 +--
 src/seq/queue-info.h                 | 37 +++----------------------
 src/seq/queue-status.c               |  4 +--
 src/seq/queue-status.h               | 36 +++----------------------
 src/seq/queue-tempo.c                |  4 +--
 src/seq/queue-tempo.h                | 36 +++----------------------
 src/seq/queue-timer-data-alsa.h      |  4 +--
 src/seq/queue-timer.c                |  4 +--
 src/seq/queue-timer.h                | 36 +++----------------------
 src/seq/remove-filter.h              |  4 +--
 src/seq/subscribe-data.c             |  4 +--
 src/seq/subscribe-data.h             | 36 +++----------------------
 src/seq/system-info.c                |  4 +--
 src/seq/system-info.h                | 36 +++----------------------
 src/seq/tstamp.h                     |  4 +--
 src/seq/user-client.c                |  4 +--
 src/seq/user-client.h                | 36 +++----------------------
 src/timer/alsatimer-enum-types.h     |  5 ++--
 src/timer/alsatimer.h                |  1 +
 src/timer/device-id.h                |  4 +--
 src/timer/device-info.c              |  4 +--
 src/timer/device-info.h              | 37 +++----------------------
 src/timer/device-params.c            |  6 ++---
 src/timer/device-params.h            | 37 +++----------------------
 src/timer/device-status.c            |  4 +--
 src/timer/device-status.h            | 37 +++----------------------
 src/timer/event-data-tick.h          |  4 +--
 src/timer/event-data-tstamp.h        |  4 +--
 src/timer/event.h                    |  4 +--
 src/timer/instance-info.c            |  4 +--
 src/timer/instance-info.h            | 37 +++----------------------
 src/timer/instance-params.c          |  4 +--
 src/timer/instance-params.h          | 37 +++----------------------
 src/timer/instance-status.c          |  4 +--
 src/timer/instance-status.h          | 37 +++----------------------
 src/timer/privates.h                 |  4 +--
 src/timer/query.h                    |  4 +--
 src/timer/user-instance.c            |  4 +--
 src/timer/user-instance.h            | 37 +++----------------------
 84 files changed, 211 insertions(+), 1012 deletions(-)
```

Request URL   : https://github.com/alsa-project/alsa-gobject/pull/68
Patch URL     : https://github.com/alsa-project/alsa-gobject/pull/68.patch
Repository URL: https://github.com/alsa-project/alsa-gobject



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux