]> granicus.if.org Git - gc/commitdiff
Rename GCEventKind to GC_EventType (profiling event type)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jun 2015 21:26:07 +0000 (00:26 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jun 2015 21:26:07 +0000 (00:26 +0300)
* include/gc.h (GCEventKind, GC_on_collection_event_proc): Rename
GCEventKind to GC_EventType.

include/gc.h

index 033ab5db0363fa2cd858e28ddc40d09a76f18bc1..5ef479af12f79268bc3cc1b214c6fad6ed15caaf 100644 (file)
@@ -145,9 +145,9 @@ typedef enum {
     GC_EVENT_POST_START_WORLD /* STARTWORLD_END */,
     GC_EVENT_THREAD_SUSPENDED,
     GC_EVENT_THREAD_UNSUSPENDED
-} GCEventKind;
+} GC_EventType;
 
-typedef void (GC_CALLBACK * GC_on_collection_event_proc)(GCEventKind, void*);
+typedef void (GC_CALLBACK * GC_on_collection_event_proc)(GC_EventType, void*);
                         /* Invoked to indicate progress through the     */
                         /* collection process.                          */
                         /* Called with the world stopped (and the       */