]> granicus.if.org Git - gc/commitdiff
Export GC_push_finalizer_structures
authorIvan Maidanski <ivmai@mail.ru>
Mon, 6 Jul 2015 18:46:55 +0000 (21:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Jul 2015 18:46:55 +0000 (21:46 +0300)
* include/gc_mark.h (GC_push_finalizer_structures): New API function
declaration.
* include/private/gc_priv.h (GC_push_finalizer_structures): Remove.

include/gc_mark.h
include/private/gc_priv.h

index 0b19ea90ab77b68f0a73dfec91ce86fc016e2d75..28d2005a91d202be9223b47db786a1b17a718991 100644 (file)
@@ -279,6 +279,7 @@ GC_API void GC_CALL GC_push_all(char * /* bottom */, char * /* top */);
 GC_API void GC_CALL GC_push_all_eager(char * /* bottom */, char * /* top */);
 GC_API void GC_CALL GC_push_conditional(char * /* bottom */, char * /* top */,
                                         int /* bool all */);
+GC_API void GC_CALL GC_push_finalizer_structures(void);
 
 /* Set and get the client push-other-roots procedure.  A client         */
 /* supplied procedure should also call the original procedure.          */
index c1872a30afb5182689e5678013c892d1603d6a93..2ccf8d6ec9082be63778202ccbef68f83af1a54a 100644 (file)
@@ -263,7 +263,6 @@ typedef char * ptr_t;   /* A generic pointer to which we can add        */
                         /* finalizers to be run, and we haven't called  */
                         /* this procedure yet this GC cycle.            */
 
-   GC_INNER void GC_push_finalizer_structures(void);
    GC_INNER void GC_finalize(void);
                         /* Perform all indicated finalization actions   */
                         /* on unmarked objects.                         */