~ubuntu-branches/ubuntu/vivid/python-libdiscid/vivid

« back to all changes in this revision

Viewing changes to libdiscid/discid-wrapper.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Ramacher
  • Date: 2013-10-03 17:32:00 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131003173200-1p3qlyl3aj14y81k
Tags: 0.4-1
* New upstream version.
* debian/patches:
  - skip-read-tests-if-not-available.patch: Removed, no longer needed.
  - sphinx-documentation.patch: Refreshed.
* debian/control: Bump libdiscid0-dev to >= 0.6 for new features.
* debian/{rules,python-libdiscid-doc.docs}: Update for new path of the
  documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
}
104
104
 
105
105
#endif /* libdiscid < 0.5.0 */
 
106
 
 
107
/* discid_get_toc_string appeared in 0.6.0 */
 
108
#if !defined(DISCID_VERSION_MAJOR) || \
 
109
  (DISCID_VERSION_MAJOR == 0 && DISCID_VERSION_MINOR < 6)
 
110
 
 
111
char* wrap_get_toc(DiscId* d)
 
112
{
 
113
  return NULL;
 
114
}
 
115
 
 
116
# else
 
117
 
 
118
char* wrap_get_toc(DiscId* d)
 
119
{
 
120
  return discid_get_toc_string(d);
 
121
}
 
122
 
 
123
#endif
 
124