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:
David Vo
2019-11-12 16:38:49 +11:00
committed by Peter Johnson
parent f04d95e50f
commit 2da64d15f6

View File

@@ -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