Main Content

target.LanguageImplementation class

Package: target

Provide C and C++ compiler implementation details

Since R2019a

Description

Use the target.LanguageImplementation class to provide implementation details about the C and C++ compiler for your target hardware. For example, byte ordering.

To create a target.LanguageImplementation object, use the target.create function.

Properties

expand all

Size in bits of the largest floating-point data type that you can atomically load and store on the hardware

Attributes:

GetAccess
public
SetAccess
public

Data Types: int32

Size in bits of the largest integer that you can atomically load and store on the hardware

Attributes:

GetAccess
public
SetAccess
public

Data Types: int32

Byte ordering implemented by target hardware.

Attributes:

GetAccess
public
SetAccess
public

Provides C and C++ data type definitions through properties described in this table.

Property NamePurpose

Char

target.DataTypes.Char object for char.

Short

target.DataTypes.Short object for short.

Int

target.DataTypes.Int object for int.

Long

target.DataTypes.Long object for long.

LongLong

target.DataTypes.LongLong object for longlong.

Half

target.DataTypes.Half object for a half precision data type that the target hardware uses.

Float

target.DataTypes.Float object for float.

Double

target.DataTypes.Double object for double.

Pointer

target.DataTypes.Pointer object for pointer.

SizeT

target.DataTypes.SizeT object for size_t.

PtrDiffT

target.DataTypes.PtrDiffT object for ptrdiff_t.

NonStandardDataTypes

target.FloatingPointDataType object array for target hardware data types that are not specified by C language standards.

Attributes:

GetAccess
public
SetAccess
private

Value of Name property.

Attributes:

GetAccess
public
SetAccess
private

Name of the target language implementation

Attributes:

GetAccess
public
SetAccess
public

Native word size for the target hardware.

Attributes:

GetAccess
public
SetAccess
public

Data Types: int32

Examples

Version History

Introduced in R2019a