Uploaded image for project: 'libdiscid'
  1. libdiscid
  2. LIB-35

Make usage of new features easier (defines)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • libdiscid 0.5.0
    • None
    • None

      Sometimes you want to optionally use a new feature of libdiscid without having to depend on a recent libdiscid.

      An example is LIB-29. Users would want to use read_sparse() when available but just keep using read() when compiling against libdiscid <= 0.2.2.

      We didn't introduce any defines for the ISRC API, but we did introduce something for the (disc read) features in LIB-23.

      If this is about using new functions we need defines.
      These can technically be generated by the build files of the user, our build files or in the includes (directly).

      We can use version number defines (major, minor, patch or api number) or defines for special features.

            jonnyjd Johannes Dewender
            jonnyjd Johannes Dewender
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                libdiscid 0.5.0