C2: Fix preprocessor defines for libclang parsing
parent
682299cb8c
commit
0ef26fec63
|
|
@ -97,11 +97,11 @@ icsneoc2_error_t icsneoc2_message_data_set(icsneoc2_message_t* message, uint8_t*
|
||||||
*/
|
*/
|
||||||
icsneoc2_error_t icsneoc2_message_data_get(icsneoc2_message_t* message, uint8_t* data, size_t* data_length);
|
icsneoc2_error_t icsneoc2_message_data_get(icsneoc2_message_t* message, uint8_t* data, size_t* data_length);
|
||||||
|
|
||||||
#define ICSNEOC2_MESSAGE_CAN_FLAGS_RTR UINT64_C(0x01) // Remote Transmission Request
|
#define ICSNEOC2_MESSAGE_CAN_FLAGS_RTR 0x01 // Remote Transmission Request
|
||||||
#define ICSNEOC2_MESSAGE_CAN_FLAGS_IDE UINT64_C(0x02) // Identifier Extension
|
#define ICSNEOC2_MESSAGE_CAN_FLAGS_IDE 0x02 // Identifier Extension
|
||||||
#define ICSNEOC2_MESSAGE_CAN_FLAGS_FDF UINT64_C(0x04) // FD Format Indicator
|
#define ICSNEOC2_MESSAGE_CAN_FLAGS_FDF 0x04 // FD Format Indicator
|
||||||
#define ICSNEOC2_MESSAGE_CAN_FLAGS_BRS UINT64_C(0x08) // Bit Rate Switch (FD only)
|
#define ICSNEOC2_MESSAGE_CAN_FLAGS_BRS 0x08 // Bit Rate Switch (FD only)
|
||||||
#define ICSNEOC2_MESSAGE_CAN_FLAGS_ESI UINT64_C(0x10) // Error State Indicator (FD only)
|
#define ICSNEOC2_MESSAGE_CAN_FLAGS_ESI 0x10 // Error State Indicator (FD only)
|
||||||
|
|
||||||
typedef uint64_t icsneoc2_message_can_flags_t;
|
typedef uint64_t icsneoc2_message_can_flags_t;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ extern "C" {
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define ICSNEOC2_OPEN_OPTIONS_NONE UINT32_C(0x0) // No options
|
#define ICSNEOC2_OPEN_OPTIONS_NONE 0x0 // No options
|
||||||
#define ICSNEOC2_OPEN_OPTIONS_GO_ONLINE UINT32_C(0x1) // After opening, go online
|
#define ICSNEOC2_OPEN_OPTIONS_GO_ONLINE 0x1 // After opening, go online
|
||||||
#define ICSNEOC2_OPEN_OPTIONS_SYNC_RTC UINT32_C(0x2) // After opening, sync RTC
|
#define ICSNEOC2_OPEN_OPTIONS_SYNC_RTC 0x2 // After opening, sync RTC
|
||||||
#define ICSNEOC2_OPEN_OPTIONS_ENABLE_AUTO_UPDATE UINT32_C(0x4) // After opening, enable auto update
|
#define ICSNEOC2_OPEN_OPTIONS_ENABLE_AUTO_UPDATE 0x4 // After opening, enable auto update
|
||||||
#define ICSNEOC2_OPEN_OPTIONS_FORCE_UPDATE UINT32_C(0x8) // After opening, force update
|
#define ICSNEOC2_OPEN_OPTIONS_FORCE_UPDATE 0x8 // After opening, force update
|
||||||
|
|
||||||
typedef uint32_t icsneoc2_open_options_t;
|
typedef uint32_t icsneoc2_open_options_t;
|
||||||
|
|
||||||
|
|
@ -366,9 +366,9 @@ typedef enum _icsneoc2_disk_layout_t {
|
||||||
|
|
||||||
typedef uint8_t icsneoc2_disk_layout_t;
|
typedef uint8_t icsneoc2_disk_layout_t;
|
||||||
|
|
||||||
#define ICSNEOC2_DISK_FORMAT_FLAGS_PRESENT UINT32_C(0x1) // Indicates that the disk is present
|
#define ICSNEOC2_DISK_FORMAT_FLAGS_PRESENT 0x1 // Indicates that the disk is present
|
||||||
#define ICSNEOC2_DISK_FORMAT_FLAGS_INITIALIZED UINT32_C(0x2) // Indicates that the disk is initialized
|
#define ICSNEOC2_DISK_FORMAT_FLAGS_INITIALIZED 0x2 // Indicates that the disk is initialized
|
||||||
#define ICSNEOC2_DISK_FORMAT_FLAGS_FORMATTED UINT32_C(0x4) // Indicates that the disk is already formatted
|
#define ICSNEOC2_DISK_FORMAT_FLAGS_FORMATTED 0x4 // Indicates that the disk is already formatted
|
||||||
|
|
||||||
typedef uint32_t icsneoc2_disk_format_flags_t;
|
typedef uint32_t icsneoc2_disk_format_flags_t;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue