Skip to content
  • Thomas Haller's avatar
    version: rename macro NM_VERSION_CUR_STABLE to NM_API_VERSION · 4da1480c
    Thomas Haller authored
    NM_API_VERSION is a better name. It's not the current stable
    version, but the version number of the API which the current
    NM_VERSION provides. In practice, NM_API_VERSION is either identical
    to NM_VERSION (in case of a release) or NM_VERSION is a development
    version leading up the the upcoming NM_API_VERSION.
    
    For example, with the new name the check
    
      #if NM_VERSION != NM_API_VERSION
      # warning this is an development version
      #endif
    
    makes more sense.
    4da1480c