> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SyscInputScalarData Struct Reference

Part of [C Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/group__SyscParticipantLibraryCAPI)

Provide a struct for input scalar data.

`#include <syscInputScalarData.h>`

## Data Fields

| Type | Name |
| - | - |
| enum [SyscPrimitiveType](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/group__SyscParticipantLibraryCAPI#gade3becc3625d881bdd988111e0895a3c) | [primitiveType](#ab177e62c0635afebce589c1a411144fe) |
| void \* | [data](#a1a84599e793064d8c6275084ffe16cfe) |
| size\_t | [size](#aab4ae5518bec7d42d01359b5459bf7e2) |

## Detailed Description

Provide a struct for input scalar data.

Input scalar data provides read and write access to an array of scalar data.

To create and/or initialize [SyscInputScalarData](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/structSyscInputScalarData.md), it is highly recommended to use one of the functions with names starting with `syscGetInputScalarData`. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:

```c theme={null}
SyscInputScalarData isd = syscGetInputScalarDataDouble(array, arraySize);
```

Definition at line [40](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source) of file [syscInputScalarData.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source).

## Field Documentation

### data

```c theme={null}
void* SyscInputScalarData::data
```

Pointer to the data array.

Definition at line [42](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source) of file [syscInputScalarData.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source).

### primitiveType

```c theme={null}
enum SyscPrimitiveType SyscInputScalarData::primitiveType
```

Primitive type.

Definition at line [77](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source) of file [syscInputScalarData.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source).

### size

```c theme={null}
size_t SyscInputScalarData::size
```

Array size.

Definition at line [43](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source) of file [syscInputScalarData.h](https://developer.synopsys.com/docs/system-coupling/system-coupling-c-library/syscInputScalarData_8h_source).
