mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Make usage reporting enums type match (#2069)
This changes the C++ HALUsageReporting enums to have an explicit type which matches the HAL_Report parameter types. In practice this shouldn't change much except for tooling that might be parsing this header.
This commit is contained in:
@@ -44,11 +44,11 @@ int64_t HAL_Report(int32_t resource, int32_t instanceNumber, int32_t context,
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace HALUsageReporting {
|
||||
typedef enum {
|
||||
enum tResourceType : int32_t {
|
||||
${usage_reporting_types_cpp}
|
||||
} tResourceType;
|
||||
typedef enum {
|
||||
};
|
||||
enum tInstances : int32_t {
|
||||
${usage_reporting_instances_cpp}
|
||||
} tInstances;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user