diff options
author | Jonas Echterhoff <jonas@unity3d.com> | 2020-05-28 14:02:00 +0300 |
---|---|---|
committer | Jonas Echterhoff <jonas@unity3d.com> | 2020-05-28 14:02:00 +0300 |
commit | fa62401dff24684f8797bc355807e90d78e880af (patch) | |
tree | 4e7dcdaa4bd0029632d418518fb3429133e6d32b /include | |
parent | 876a56777d9fb8ca559c8889c586cc88eb120d75 (diff) |
Add GC_set_disable_automatic_collection API to disable automatic periodic collectionsdisable-automatic-collection-api
Diffstat (limited to 'include')
-rw-r--r-- | include/gc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h index 3a4501ae..3d10a9a4 100644 --- a/include/gc.h +++ b/include/gc.h @@ -2038,6 +2038,7 @@ GC_API void GC_CALL GC_start_world_external(void); GC_API void GC_CALL GC_disable_incremental(void); GC_API void GC_CALL GC_start_incremental_collection (void); +GC_API void GC_CALL GC_set_disable_automatic_collection(int); /* APIs for getting access to raw GC heap */ /* These are NOT thread safe, so should be called with GC lock held */ |