[profiler] Use explicit values for enum members.
[mono.git] / mono / profiler / log.h
index f88cb822ba26bd64308be1b777f7e53dfc4097ea..9878629fc1be3b7f8f4af48da41c280ca60711e9 100644 (file)
@@ -146,9 +146,9 @@ enum {
 };
 
 typedef enum {
-       SYNC_POINT_PERIODIC,
-       SYNC_POINT_WORLD_STOP,
-       SYNC_POINT_WORLD_START
+       SYNC_POINT_PERIODIC = 0,
+       SYNC_POINT_WORLD_STOP = 1,
+       SYNC_POINT_WORLD_START = 2,
 } MonoProfilerSyncPointType;
 
 typedef enum {
@@ -158,8 +158,8 @@ typedef enum {
 } MonoProfilerMonitorEvent;
 
 enum {
-       MONO_PROFILER_GC_HANDLE_CREATED,
-       MONO_PROFILER_GC_HANDLE_DESTROYED,
+       MONO_PROFILER_GC_HANDLE_CREATED = 0,
+       MONO_PROFILER_GC_HANDLE_DESTROYED = 1,
 };
 
 // If you alter MAX_FRAMES, you may need to alter SAMPLE_BLOCK_SIZE too.