[vlc-commits] XML: return node (element name or text value) as const

Rémi Denis-Courmont git at videolan.org
Thu Jan 20 22:24:56 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 20 23:22:41 2011 +0200| [ad10f794dd6c5ceae4074e944de90b076d4607e0] | committer: Rémi Denis-Courmont

XML: return node (element name or text value) as const

This simplifies memory handling in most cases.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad10f794dd6c5ceae4074e944de90b076d4607e0
---

 include/vlc_xml.h                       |   12 +--
 modules/codec/subsusf.c                 |   63 ++++--------
 modules/demux/playlist/b4s.c            |   77 +++++--------
 modules/demux/playlist/itml.c           |   75 ++++---------
 modules/demux/playlist/itml.h           |    5 +-
 modules/demux/playlist/podcast.c        |  142 +++++++++++--------------
 modules/demux/playlist/qtl.c            |   20 ++---
 modules/demux/playlist/shoutcast.c      |   73 ++++---------
 modules/demux/playlist/xspf.c           |  179 +++++++++---------------------
 modules/gui/skins2/parser/xmlparser.cpp |   17 +---
 modules/misc/freetype.c                 |   15 ++--
 modules/misc/lua/libs/xml.c             |   11 +--
 modules/misc/text_renderer.h            |  127 ++++++++++------------
 modules/misc/xml/libxml.c               |   67 ++++++++----
 modules/video_filter/rss.c              |   42 +++-----
 15 files changed, 353 insertions(+), 572 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=ad10f794dd6c5ceae4074e944de90b076d4607e0


More information about the vlc-commits mailing list