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

Make usage of new features easier (defines)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: libdiscid 0.5.0
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  libdiscid 0.5.0