Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Echterhoff <jonas@unity3d.com>2018-06-06 13:02:09 +0300
committerJonas Echterhoff <jonas@unity3d.com>2018-06-06 13:02:09 +0300
commit05e337750c56d6832c7727c8d0c4a42697f9bae6 (patch)
treefcc338922bcc42d5c42d1a34f56abc6c14d4628d
parent5d8db990f8b307f0f5f6a0f1939a52ba72190e14 (diff)
Bring back declarations needed by il2cpp
-rw-r--r--include/gc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h
index ce5a27de..a358f6c9 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -2024,6 +2024,10 @@ GC_API void GC_CALL GC_win32_free_heap(void);
(*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page)
#endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */
+/* Unity specific APIs */
+GC_API void GC_CALL GC_stop_world_external();
+GC_API void GC_CALL GC_start_world_external();
+
/* APIs for getting access to raw GC heap */
/* These are NOT thread safe, so should be called with GC lock held */
typedef void (*GC_heap_section_proc)(void* user_data, GC_PTR start, GC_PTR end);