• Martyn Russell's avatar
    libtracker-sparql: Added TRACKER_CHECK_VERSION and tracker_check_version() · 543f168c
    Martyn Russell authored
    Now, libtracker-sparql includes tracker-version.h and tracker-sparql.h is a
    real non-generated header which includews the generated vala headers.
    We need to wrap the generated headers from valac to include checks ensuring
    the generated header is not included directly, but rather the on header
    for the entire library is included instead (tracker-sparql.h)
    So now we have -generated-no-checks.h from valac, and all -generated-no-checks.h
    files get converted to -generated.h with the pre-processor additions inserted
    Fixes GB#646365, Add macro to check Tracker version
tracker-version.h 2.58 KB