clang 8.0.0

Public Attributes | List of all members
CXPlatformAvailability Struct Reference
libclang: C Interface to Clang » Cursor manipulations

Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer. More...

`#include "clang-c/Index.h"`

Collaboration diagram for CXPlatformAvailability:
[legend]

## Public Attributes
CXString | Platform
| A string that describes the platform for which this structure provides availability information. More...
CXVersion | Introduced
| The version number in which this entity was introduced. More...
CXVersion | Deprecated
| The version number in which this entity was deprecated (but is still available). More...
CXVersion | Obsoleted
| The version number in which this entity was obsoleted, and therefore is no longer available. More...
int | Unavailable
| Whether the entity is unconditionally unavailable on this platform. More...
CXString | Message
| An optional message to provide to a user of this API, e.g., to suggest replacement APIs. More...

## Detailed Description

Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.

Definition at line 2822 of file Index.h.

## Member Data Documentation

## ◆ Deprecated

CXVersion CXPlatformAvailability::Deprecated

The version number in which this entity was deprecated (but is still available).

Definition at line 2838 of file Index.h.

## ◆ Introduced

CXVersion CXPlatformAvailability::Introduced

The version number in which this entity was introduced.

Definition at line 2833 of file Index.h.

## ◆ Message

CXString CXPlatformAvailability::Message

An optional message to provide to a user of this API, e.g., to suggest replacement APIs.

Definition at line 2852 of file Index.h.

## ◆ Obsoleted

CXVersion CXPlatformAvailability::Obsoleted

The version number in which this entity was obsoleted, and therefore is no longer available.

Definition at line 2843 of file Index.h.

## ◆ Platform

CXString CXPlatformAvailability::Platform

A string that describes the platform for which this structure provides availability information.

Possible values are "ios" or "macos".

Definition at line 2829 of file Index.h.

## ◆ Unavailable

int CXPlatformAvailability::Unavailable

Whether the entity is unconditionally unavailable on this platform.

Definition at line 2847 of file Index.h.

The documentation for this struct was generated from the following file:

- include/clang-c/Index.h