Main Content

target.LanguageImplementation class

Package: target

Provide C and C++ compiler implementation details

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

target.DataTypes object that provides C and C++ data type definitions through properties described in this table.

Property NamePurpose

Char

target.datatype.Char object for char.

Short

target.datatype.Short object for short.

Int

target.datatype.Int object for int.

Long

target.datatype.Long object for long.

LongLong

target.datatype.LongLong object for longlong.

Half

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

Float

target.datatype.Float object for float.

Double

target.datatype.Double object for double.

Pointer

target.datattype.Pointer object for pointer.

SizeT

target.datatype.SizeT object for size_t.

PtrDiffT

target.datatype.PtrDiffT object for ptrdiff_t.

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

Introduced in R2019a