diff options
author | Josh Peterson <joshuap@unity3d.com> | 2019-11-06 19:04:26 +0300 |
---|---|---|
committer | Josh Peterson <joshuap@unity3d.com> | 2019-11-06 19:04:26 +0300 |
commit | 8b95edbd6ede7aeeb17a58330a9028850d2e49f3 (patch) | |
tree | a8ee68d97a6e1e8fd74c1a0ea65cb004568d9674 /include | |
parent | 35a51fcbf1e64457e46f9655cec7ccc586a13135 (diff) |
Allow the GC statics to be re-initialized
These changes are enough to call `GC_deinit` and then `GC_init` again
on Windows. There are likely other statics that need to be initialized,
but we can discover those as we find them.
Diffstat (limited to 'include')
-rw-r--r-- | include/gc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h index 13c7c2a9..3540b13f 100644 --- a/include/gc.h +++ b/include/gc.h @@ -598,6 +598,9 @@ GC_API void GC_CALL GC_set_max_heap_size(GC_word /* n */); GC_API void GC_CALL GC_exclude_static_roots(void * /* low_address */, void * /* high_address_plus_1 */); +/* Clear the number of entries in the exclustion table. Wizards only. */ +GC_API void GC_CALL GC_clear_exclusion_table(void); + /* Clear the set of root segments. Wizards only. */ GC_API void GC_CALL GC_clear_roots(void); |