Global Variables

The following global variables are available globally.

  • Like atk_get_binary_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

    Declaration

    Swift

    public let BINARY_AGE: Int32
  • Like atk_get_interface_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

    Declaration

    Swift

    public let INTERFACE_AGE: Int32
  • Like atk_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

    Declaration

    Swift

    public let MAJOR_VERSION: Int32
  • Like atk_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

    Declaration

    Swift

    public let MICRO_VERSION: Int32
  • Like atk_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

    Declaration

    Swift

    public let MINOR_VERSION: Int32
  • A macro that should be defined by the user prior to including the atk/atk.h header. The definition should be one of the predefined ATK version macros: ATK_VERSION_2_12, ATK_VERSION_2_14,…

    This macro defines the earliest version of ATK that the package is required to be able to compile against.

    If the compiler is configured to warn about the use of deprecated functions, then using functions that were deprecated in version ATK_VERSION_MIN_REQUIRED or earlier will cause warnings (but using functions deprecated in later releases will not).

    Declaration

    Swift

    public let VERSION_MIN_REQUIRED: Int