[PATCH 00/13] Improved introspection support



Hi,

This set of patches improves Grilo's introspection support by

* Replacing alias defined with macros, as they can't be introspected,
  using "inline" functions instead.

  This has been done in two steps: first, macros were replaced with
  functions, which works fine. Then, those functions were marked as
  "inline" following [1], declaring the functions with "extern", and
  defining them with "inline".

  Discussion on this topic has been carried on this thread [2]

* Adding missing tags, needed both for documentation and introspection

[1] http://gcc.gnu.org/onlinedocs/gcc/Inline.html
[2] http://mail.gnome.org/archives/grilo-list/2010-July/msg00067.html

Simón Pena (13):
  core: Replaced grl-config defines with functions
  core: Replaced grl-media defines with functions
  core: Replaced grl-media-video defines with functions
  core: Replaced grl-media-image defines with functions
  core: Replaced grl-media-audio defines with functions
  core: Added gtk-doc tags to grl-media-audio
  core: Added gtk-doc tags to grl-media-image
  core: grl-config functions from macros made inline
  core: grl-media functions from macros made inline
  core: grl-media-audio functions from macros made inline
  core: grl-media-image functions from macros made inline
  core: grl-media-video functions from macros made inline
  core: Added introspection tags to grl_init

 src/data/grl-config.c      |  127 +++++++++++
 src/data/grl-config.h      |   97 +--------
 src/data/grl-media-audio.c |  130 +++++++++++
 src/data/grl-media-audio.h |   54 ++---
 src/data/grl-media-image.c |   62 +++++
 src/data/grl-media-image.h |   21 +--
 src/data/grl-media-video.c |   83 +++++++-
 src/data/grl-media-video.h |   65 +-----
 src/data/grl-media.c       |  526 ++++++++++++++++++++++++++++++++++++++++++++
 src/data/grl-media.h       |  411 ++++-------------------------------
 src/grilo.c                |    7 +
 11 files changed, 1017 insertions(+), 566 deletions(-)



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