/*
 * This file defines the atc_data_type C enum.
 */

#pragma once

/// C equivalent of `DataType`.
typedef enum atc_data_type {
	ATC_DATA_TYPE_UINT8 = 0,
	ATC_DATA_TYPE_UINT16 = 1,
	ATC_DATA_TYPE_UINT32 = 2,
	ATC_DATA_TYPE_UINT64 = 3,
	ATC_DATA_TYPE_INT8 = 4,
	ATC_DATA_TYPE_INT16 = 5,
	ATC_DATA_TYPE_INT32 = 6,
	ATC_DATA_TYPE_INT64 = 7,
	ATC_DATA_TYPE_FLOAT32 = 8,
	ATC_DATA_TYPE_FLOAT64 = 9,
	ATC_DATA_TYPE_ERROR = 10 ///< This value does not map to any C++ equivalent, but is instead returned to indicate errors (replaced in C++ by exceptions).
} atc_data_type;
